What is JotForm?
JotForm is a free online form builder which helps you create online forms without writing a single line of code. No sign-up required.

At JotForm, we want to make sure that you’re getting the online form builder help that you need. Our friendly customer support team is available 24/7.

We believe that if one user has a question, there could be more users who may have the same question. This is why many of our support forum threads are public and available to be searched and viewed. If you’d like help immediately, feel free to search for a similar question, or submit your question or concern.


  • Profile Image

    Problem with 'hide if empty' condition

    Asked by Lightmare on January 12, 2014 at 09:13 PM

    Hi,

    On the payment options on my form, I have the the options of 'Paypal or credit card' or 'Direct bank deposit'.  I have included a question for customers asking which payment method they want to use, and I want it to behave by hiding the payment instructions for each method until they have checked one of these options.

    However, if I try to use the 'if empty' then 'hide (list of all payment instruction fields)' rule, it still leaves one of the sets of instructions (paypal) visible; it doesn't hide them both, only one (direct deposit).

    I have follow-on conditions to say 'if 'option a' is chosen, then show 'payment instructions for a' and 'if 'option b' is chosen, then show 'payment instructions for b'.  I have tried these with both 'show' and 'hide' options, just 'show' and just 'hide' but none of them allows ALL sets of payment instructions to be hidden if the participant has chosen nothing.

    Even though via this glitch, paypal intsructions are always visible when the field is empty, if the participant clicks 'direct deposit', it removes the instructions for paypal and replaces them with the ones for direct deposit, so at least that works.

    Could you please let me know how to ensure that NONE of the instructions are visible if the participant hasn't chosen an option yet?  I looked in this forum for people having similar issues, of which there were a few but none seem to have resolved it the way I need. I have tried the 'if empty, hide these fields' rule at both the start and end of the rule chain, which doesn't seem to make any difference.

    Thanks!

    Page URL:
    http://www.calligraphybyronbay.com.au/#!register/c1pee

    Screenshot
    problem payment options hidden payment method Glitch
  • Profile Image

    Answered by krispi on January 12, 2014 at 09:36 PM

    Hello,

    Try using radio buttons instead of check boxes and than updating conditions.
    If it doesn't do the trick, can you please send the form link?

    Regards

    Carina

  • Profile Image
    JotForm Support

    Answered by ashwin_d on January 13, 2014 at 03:03 AM

    Hello Lightmare,

    It looks like you have removed the question "Please choose your preferred payment method" from your form. Upon checking your form, I did not find the above field so could not find why it is not working for you.

    Ideally when you add a show hide condition to a form field, it will work if the condition matches and there should not be any conflict. As you have already removed the form field, I am unable to check why it is not working for you. For your requirement, as suggested by @krispi you should try using a radio button question. If you add these fields back and continue to have the issue, I will be happy to take a look.

    I believe you are wanting to have multiple payment method in your form. These two guides should help you: 

    http://www.jotform.com/help/120-How-to-set-up-paypal-along-with-other-payment-options

    http://www.jotform.com/answers/289180-Multiple-payment-options-on-form

    Do get back to us if you have any questions.

    Thank you!

  • Profile Image

    Answered by Skeetarus on January 16, 2014 at 07:26 AM
    Hi, thanks very much for your fast response!
    Yes, unfortunately I had to remove that question altogether as I later
    discovered that I couldn't give customers the option to check out of the
    page via two different methods on the same form; one to be diverted to
    PayPal to pay that way, and another that would just submit the form details
    without PayPal and allow them to complete a separate manual payment by bank
    transfer elsewhere. Because of this, I have had to make two separate
    forms, one for those wishing to pay via PayPal and one for those wishing to
    pay via other methods. Not very efficient to say the least, but it works
    in the meantime.
    Please let me know if you think this issue might be fixed any time soon; it
    really just needs a separately added 'Submit' button to be able to work
    independently of the PayPal checkout, and be able to route it straight to
    the Thank You function, even when a PayPal option is included in the form
    (which would work via its own 'Check out via PayPal' button.) I know you
    can't adjust the PayPal routing via it's widget, but would it be possible
    to add a feature to the normal Jotform submit burtton to have it route
    directly to the Thank You screen and ignore the PayPal checkout when
    clicked?
    i.e.
    1. "Please choose a payment method: (a) PayPal or (b) bank transfer"
    2. Chosen: (a) PayPal = condition initiates to only allow PayPal
    checkout function and button - reroutes to PayPal site
    3. Chosen: (b) Bank Transfer = condition initiates to only allow manual
    submit function that avoids PayPal redirection - routes to Thank You page
    It would be awesome if this was an easy change to make, as I love
    everything else about using Jotform, but this seems like a important option
    to have in a commerce form and it's pretty weird for me to have to use two
    different ones for my customers.
    Thanks!
    Kind regards,
    *Anita Reilly*
    *Victorian Coordinator*
    Lightmare Studios
    *Ph 0413 262 029*
    *Email* anita@lightmare.com.au
    *Web* www.lightmare.com.au
    *FB* http://www.facebook.com/LightmareStudios
    *Please note: I have recently relocated interstate, working 30 hours a
    week. As I'm out of the office regularly, please text my mobile for any
    urgent matters, or contact our local Lightmare Training Liaison. All
    emails will be attended to as soon as possible, however a response may be
    delayed in some cases.*
    Would you like to know more about paid Digital Arts traineeship
    opportunities for Year 10 and 11 secondary students in Victoria? Visit
    www.lightmare.com.au/students
    ABN:50144909875
    ACN:144909875
    ...
  • Profile Image

    Answered by Skeetarus on January 16, 2014 at 07:26 AM
    Damn, I just noticed the links you sent me...that's what I'm trying to do!
    Sorry for the essay, will try that first. Thanks!!!
    Kind regards,
    *Anita Reilly*
    *Victorian Coordinator*
    Lightmare Studios
    *Ph 0413 262 029*
    *Email* anita@lightmare.com.au
    *Web* www.lightmare.com.au
    *FB* http://www.facebook.com/LightmareStudios
    *Please note: I have recently relocated interstate, working 30 hours a
    week. As I'm out of the office regularly, please text my mobile for any
    urgent matters, or contact our local Lightmare Training Liaison. All
    emails will be attended to as soon as possible, however a response may be
    delayed in some cases.*
    Would you like to know more about paid Digital Arts traineeship
    opportunities for Year 10 and 11 secondary students in Victoria? Visit
    www.lightmare.com.au/students
    ABN:50144909875
    ACN:144909875
    ...
  • Profile Image

    Answered by Skeetarus on January 16, 2014 at 07:30 AM
    Hmm, close but no cigar. In theory, the first link describes what I need,
    but I as I have six different products to choose from, I wanted to use the
    purchase order function for the bank deposit option so customers could have
    it automatically add their choices and give a total cost summary. I can't
    see another way to do this and the form will only let me have one payment
    option at a time, for some reason. Thanks anyway, unless there's a
    solution I will need to stick with two forms.
    Kind regards,
    *Anita Reilly*
    *Victorian Coordinator*
    Lightmare Studios
    *Ph 0413 262 029*
    *Email* anita@lightmare.com.au
    *Web* www.lightmare.com.au
    *FB* http://www.facebook.com/LightmareStudios
    *Please note: I have recently relocated interstate, working 30 hours a
    week. As I'm out of the office regularly, please text my mobile for any
    urgent matters, or contact our local Lightmare Training Liaison. All
    emails will be attended to as soon as possible, however a response may be
    delayed in some cases.*
    Would you like to know more about paid Digital Arts traineeship
    opportunities for Year 10 and 11 secondary students in Victoria? Visit
    www.lightmare.com.au/students
    ABN:50144909875
    ACN:144909875
    ...
  • Profile Image
    JotForm Support

    Answered by ashwin_d on January 16, 2014 at 10:28 AM

    HelloAnita,

    Unfortunately you can add only one type of payment question in your form. The guide which I shared have only one payment question and it uses conditions to hide the paypal option and show the other deposit option message if the "Check" or "Phone" is selected.

    In any case you cannot add more than one payment question if you add PayPal you cannot add purchase order question. 

    Thank you!

  • Profile Image
    JotForm Support Manager

    Answered by Jeanette on January 20, 2014 at 10:35 AM

    Actually you can embed more than one payment option, you just need to create two forms, and embed the iframe version of one into another one using our HTML widget (Text , under Form Tools)  and apply conditional logic

    Please see these guide for further explanations

    http://www.jotform.com/help/161-How-to-Update-the-Multiple-Payment-Form

    How to set up paypal along with other payment options

    Kind regards