PLEASE NOTE: These forums are no longer utilized and are provided as an archive for informational purposes only. All support issues will be handled via email using our support ticket system. For more detailed information on this change, please see this blog post.

Form Value Newb Question

  1. nassroperlaw
    Member

    We would like the price to change based on the answers chosen. I have assigned values to all the answers. Yet when I answer all the questions on my site, the number still always comes out to $0.00.

    Im clearly doing something wrong here. The question is, what?

    Posted 13 years ago on Thursday June 2, 2011 | Permalink
  2. Hi Nassreoperlaw,

    Could you provide a link to your form?

    Posted 13 years ago on Friday June 3, 2011 | Permalink
  3. nassroperlaw
    Member

    Well its more of a general question: is pricing on these forms set or can the ultimate price change based on the Value placed on certain answers? So for example, lets say Im selling a Widget:

    Would you like a Widget?
    1) Yes (Value = $200.00)
    2) No (Value $0.00)

    What Color Widget?
    1) Green (Value = $100.00)
    2) Blue (Value ($20.00)

    Furry?
    1) Yes (Value $20.00)
    2) No (Value $0.00)

    So say the person selected that he wants a Widget, got to the next question and chose Blue and next question chose Yes for furry. Is there something in these forms that will automatically add what was chosen up and display $240.00?

    I ask because we're selling services (its a law firm) and the price will change depending on what the person needs and what they have.

    Any help would be greatly appreciated!
    Thanks guys!

    Posted 13 years ago on Friday June 3, 2011 | Permalink
  4. Yep, that is all possible: http://grab.by/ahkM

    Posted 13 years ago on Friday June 3, 2011 | Permalink
  5. nassroperlaw
    Member

    hmm...ok, so it seems to link to a screen shot of some sort.

    Any how-to's?

    Posted 13 years ago on Friday June 3, 2011 | Permalink
  6. Hm, try again. I just clicked it and was able to view the screengrab with issue.

    Posted 13 years ago on Friday June 3, 2011 | Permalink
  7. nassroperlaw
    Member

    Its a nice screen shot, but, how do you do it? :)

    Posted 13 years ago on Friday June 3, 2011 | Permalink
  8. nassroperlaw
    Member

    I notice it can be done via the Option and Total buttons under the Pricinf Fields catagory.. But we don't want a price to appear until the final question is chosen. Essentially, we want to secretly tally up the total and at the end, present a total amount owed. Can that be done?

    Posted 13 years ago on Friday June 3, 2011 | Permalink
  9. Sure, set a conditional logic on the total field so that it does not display until the final option has been selected. This assumes that the final option would be required and have a positive/negative value, otherwise the use could submit the form without the total ever displaying.

    http://grab.by/ahoh

    Posted 13 years ago on Friday June 3, 2011 | Permalink
  10. nassroperlaw
    Member

    I could do that, but the only way to have the Total field know what the total is, is to have the dollar amounts displayed next to each choice. The total doesn't have to be displayed till the end, but do the dollar amounts have to be displayed?

    In my example of the Widgets above, I put the "Value" in parenthesis, because I wanted it to be assigned a Value of $200, not a price of $200 for the user to see. Please let me know if Im not making myself understandable, Im not a code guy (clearly) so I don't know all the lingo to fully articulate what I'm trying to say.

    Posted 13 years ago on Friday June 3, 2011 | Permalink
  11. nassroperlaw
    Member

    any info?

    Posted 13 years ago on Monday June 6, 2011 | Permalink
  12. Hi Nassropelaw,

    Currently, the pricing fields aren't really set up to not show a price; however, you could use a bit of CSS to hide the prices manually.

    http://grab.by/ais7

    In this example, you could hide the price like so:

    [css]
    .gform_wrapper .ginput_price {
      display: none;
    }

    The CSS method would not be applicable to drop down products/options as these are added into the actual field options themselves.

    Posted 13 years ago on Monday June 6, 2011 | Permalink
  13. nassroperlaw
    Member

    Neh, that didn't seem to do the trick.

    I don't understand why there is a Value section if its almost entirely meaningless. The only way, that I see, having a Value option would make any sense at all, is if it actually assigned that specific choice a Value which could be tallied up, or calculated at the end.

    Why does the admin need a special Value section to see what the value of the selection is? Can't his eyes shift one millimeter to the left and simply read what the selection is?

    What color are your eyes?
    Brown (Value = Brown)

    Who would ever have thought that the value of Brown is....brown!!! or that Yes is YES?! Other than pointing out the glaringly obvious, can this Value system actually be used for anything of any...ahem....value? :) (like adding up actual values on the backend to be calculated and displayed at a later time?)

    Posted 13 years ago on Tuesday June 7, 2011 | Permalink
  14. Haha, trust me Nasseroperlaw. Having the value field is INVALUABLE for many, many, many scenarios. One example is where you want to display a product name to the user, but want to record a product ID to process in the backend.

    We realize that some users will only need basic usage of multiple option fields (selects, checkboxes, and multiple choice) which is why you have to check the "enable values" box to show the value fields.

    How is the value option interfering with what you are trying to accomplish? Also, if you provide a link to a form in-progress I can give you some more specific styles to hide the pricing. The above sample worked on my local install so if it isn't working for you, I'm guessing we just need to add a little specificity.

    Posted 13 years ago on Tuesday June 7, 2011 | Permalink
  15. nassroperlaw
    Member

    Thanks for the advice. My web guy updated the CSS and it seems to be working by not showing the price. However, it now also doesn't show the Total when tallied up. No matter what I do, the total is always $0.00.

    Any ideas on what I should do?

    Posted 13 years ago on Sunday June 12, 2011 | Permalink
  16. @nassroperlaw If the Total isn't calculating you first need to check to make sure you aren't using ALL Option Fields. If you are only using Option Fields and no Product Fields, your Total won't calculate. Options REQUIRE a Product, otherwise they can't impact the price. Options are Options of a Product, if you don't have a Product Field on your form... they have nothing to impact the price of.

    Think of Options as Size, Color, etc. They would be Size, Color, etc. of a Product. So if you are using Option Fields you need to make sure you have at least one Product field on your form. If you have multiple Product Fields on your form you then configure which Product the Option is for when editing the Option.

    My guess is you are using all Option Fields and haven't implemented at least one Product Field.

    Posted 13 years ago on Monday June 13, 2011 | Permalink