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

    Form does not submit when payment field is blank

    Asked by charitychallenge on September 06, 2014 at 06:21 AM

    http://secure.jotform.co/charitychallenge/ms-bpr

     

    Have tried clearing cache

     

    Have removed Separator widgets

     

    ??

    button not working cannot submit can't submit
  • Profile Image
    JotForm Support

    Answered by Welvin on September 06, 2014 at 01:15 PM

    Hi,

    Will check your form and get back to you later today. I am sure the problem is in the form.

    Thank you!

  • Profile Image

    Answered by charitychallenge on September 06, 2014 at 02:38 PM

    Okay - hopefully an easy one to fix.

     

    Thanks

  • Profile Image
    JotForm Support

    Answered by EltonCris on September 07, 2014 at 01:28 AM

    @charitychallenge 

    The submit button isn't working because the stripe payment field can't be left blank. You are currently using form collapse to group the payment section for show/hide condition which actually works but this is the main cause why the form can't be submitted since the payment field was not actually hidden on the form (when a hidden condition is triggered) instead it only hides the payment form collapse bar.

    To fix it,

    1. Open the condition that triggers the payment field. See the following screenshot.

    2. Edit the first condition you see on the list, then delete the first action condition that shows the payment form collapse.

    3. And then create new actions and select the two payment fields you have on the form. Not the form collapse, must be the actual payment fields.

    And here's a short explanation.

    Here's a working cloned form: http://form.jotform.com/form/42490686043962?

    If you need further assistance, let us know here.

    Regards!

  • Profile Image
    JotForm Support

    Answered by EltonCris on September 07, 2014 at 01:57 AM

    Update: 

    This has been fixed by our developers so please do not change anything with your form yet. Test your form first if it is now submitting when payment fields are left blank.

    Thanks!

  • Profile Image

    Answered by charitychallenge on September 07, 2014 at 02:28 AM

    I have just checked having chosen the second payment option and the Submit button doesn't work the first time.  It needs a second click.

  • Profile Image
    JotForm Support

    Answered by Welvin on September 07, 2014 at 03:56 AM

    It's working for me here with a single click. I did it twice to your form. Can you please tell how to replicate that?

    Thank you!

  • Profile Image

    Answered by charitychallenge on September 07, 2014 at 03:58 AM

    Just select any qty of golfers other than 0

  • Profile Image

    Answered by charitychallenge on September 07, 2014 at 07:56 AM

    After experimentation, I can confirm that requirement to double click the Submit button is caused by the last open Collapse widget just above the Submit button.

    I was originally told to use the Collapse tool because of the number of show/hide conditions I have on my forms, however, the Collapse has caused me countless days of problems, so I will have to be very selective how I use them in future.

    I hope you can continue to look into some of these issues that are tied to the Collapse object so that they can be resolved.

    I have therefore removed the Collapse objects at the bottom of my form and replaced with various show/hide conditions to suit my needs.

    Thanks

  • Profile Image
    JotForm Support

    Answered by Welvin on September 07, 2014 at 09:47 AM

    I have this form: http://www.jotformpro.com/form/42493472934967. It's a clone version of your original form. Can you please let me know if you can replicate it here? Because I really don't have a problem with the form after Elton's advised for the fix. With just a single click, the form is submitted right away. We can forward this to our developers, but we have to create a note on how to replicate it and what causes it beforehand.

    Anyway, I guess you are all set now. Let us know if you need any further assistance.

    Thank you!

  • Profile Image
    JotForm Support

    Answered by Welvin on September 07, 2014 at 09:53 AM

    I think I may have figured it out - the cause, but not sure. What I did is to add a text to the form collapse since you removed it from there:

    Just in case you still have the backup of the original form, try doing the same. I appreciate your help.

    Thank you!

  • Profile Image

    Answered by charitychallenge on September 07, 2014 at 10:45 AM

    Thanks

    I will test this tomorrow, but in the meantime, as I said, I took the collapse forms out and solved the problem.  I did however clone the form first so you can test the problem.  Here is the clone:

     

    https://secure.jotformpro.com/form/42493824045961

     

    Remember to set Golfer Qty > 0 and also to choose the second (non credit card payment option) and you will see the need to hit Submit twice.

     

    Feel free to add text to the very bottom Collapse on this clone form to see whether this solves the problem - then I guess your developers might tweak the code to support Collapses with null text.

    Thanks again to all your support people for responding on these issues.

  • Profile Image
    JotForm Support Manager

    Answered by Jeanette on September 07, 2014 at 06:23 PM

    Evidently, having the submit button conditionally hidden under a form collapse causes that glitch. I made a test. (The issue goes away if I remove the conditionals and the form collapse involved (Just the non credit card option works in my test form)

    The multiple show/hide actions can be done without using form collapse.

    To avoid further issues, just choose Show or Hide Multiple and hold Ctrl while selecting the desired fields. 


     

     

    Conditional wizard will look this way.