How can I let JotForm conclude something at the end (in this case: a price)

  • Profile Image
    Mark
    Asked on January 02, 2012 at 09:41 AM

    Hi,

    I don't know how to search for this function. When reading the FAQ or User Guide, I couldn't find something similar to the function I need.

    Here's an explanation of what I mean.

    I made a form for joining an event. Users can sign up to join the event.
    There are 4 diffent users who can sign up for the event:
    - Sponsors
    - Students
    - Members
    - Non-members

    Each kind of users have to pay a different amount to join the event.
    - Sponsor  -> €0
    - Students -> €21
    - Members -> €75
    - Non-Members -> €150


    Now I want that JotForm shows the right price at the confirmation page. How can I link a field to a price. I guess this has to be possible. But in this case maybe it's more difficult. Because:

    If you are a student...you have to tick the student box
    If you are a member...you have to tick the member box
    If you are a sponsor...you have to fill in the sponsorcode
    If you are a non-member...you have to fill in the form without doing anything listing above. 

    Is this possible?
    I hope someone can help me.

    Greets, Mark 

  • Profile Image
    Mike_T
    Answered on January 03, 2012 at 05:30 PM

    Hello Mark,

    Thank you for contacting us.

    You can add some more conditions to Show custom Price field based on user role. Please check the following example:

    http://form.jotform.com/form/20025742907

    I have also added the Price field to the Thank You Page.

    Please feel free to contact us if you need any further assistance.

  • Profile Image
    Mark Goessens
    Answered on January 04, 2012 at 05:14 AM

    Hello Mike,
Thanks for your answer. You solved my problem!
Of course, this is a very logical answer. I didn't think about that. 
Again, thanks a lot for your professional help!
    But I do have a litte question now. I see in the Thank You Page, you put the shortcode: {price40}{price}
What does that mean? Because in the Thank You Page only the good price has to show up.  Is that possible?
    Greets, Mark

  • Profile Image
    Mike_T
    Answered on January 04, 2012 at 07:59 PM

    You are always welcome.

    Let me please explain, each field has some tag. For example Price field has a {price} shortcode, and the other Price field may have something like {price10} etc.

    You copy these shortcodes from email Notification, and then put them on your Thank You Page.

    Tags are showing the information only for visible/filled fields, it means that {price40}{price} will show the good price if one option (e.g. Student or Member) is checked. If you would like to allow multiple user types like Student + Member we can find some similar solution.

    Thank you for using our services.

    Please let us know if you need any further assistance. We will be happy to help you.

  • Profile Image
    Mark
    Answered on January 05, 2012 at 04:17 AM

    Hi Mike,Thank you very much again. It's very clear. Now I understand how this works. I implemented the right shortcodes in the form, and everything works perfect now! Greets Mark

  • Profile Image
    Markgoessens
    Answered on January 09, 2012 at 04:05 AM

    Hi Mike,

    You suggested a couple of radiobuttons as the price field.
    But then the user has to select the radiobutton to make the price visible in the notification mail.

    Now I tried to put the price in a couple of HTML fields. But these fields aren't visible in the notification mail.
    Then I tried to put the price in a hidden field. These fields are visible in the notification mail, but doesn't work with conditions.

    Is there an other way to show the right price in the notification mail?
    This is still the adress of my form: http://www.jotform.com/?formID=20013015158

    Greets, Mark 

  • Profile Image
    Markgoessens
    Answered on January 09, 2012 at 04:41 AM

    Hi Mike,

    I solved the problem allready by myself.
    For each price a made a textfield which I set as hidden with injected CSS.
    In combination with conditions, the right price is shown in the e-mailnotifications.

    Thank you anyway.

    Greets, Mark