Validate Zero payment

  • ARCC123
    Asked on August 23, 2018 at 3:37 AM

    The jot form allows submission with zero value. I want to introduce value that can not make successful submission for 0 value

    https://eu.jotform.com/build/81735840477364

    Jotform Thread 1560617 Screenshot
  • roneet
    Replied on August 23, 2018 at 7:48 AM

    You can make the payment section as mandatory then it will not be allowed to submit without filling the payment section, will throw out an error on the page.

    Validate Zero payment Image 10

    Validate Zero payment Image 21

    If you don't want to opt-in for mandatory checks then you can add a condition to your form. If the payment section is 0 then hide or disable the submit button.

    Let us know how do you implement this.

    Thanks.

  • ARCC123
    Replied on August 23, 2018 at 8:43 AM
    I'm looking for a simple solution so stop the form being submitted for
    zero value.
    Please give a clear instruction what I need to do to ensure that I do
    not receive forms for zero value.
    Simple, step by step instruction please.
    Thanks/Andrew
    ...
  • ARCC123
    Replied on August 23, 2018 at 9:43 AM
    Hide the button is zero may be the best option. You have more expertise
    add experience than me.
    Please advise simple effective solution i.e. what I need to do.
    Regards/Andrew
    ...
  • roneet
    Replied on August 23, 2018 at 11:57 AM

    To hide the submit button when the value is zero. I have followed the following steps:

    1. Add a short text entry field and named it as "Cal" and copy the value from stripe payment widget to this field and hide the field.

    Validate Zero payment Image 10

    To hide the field follow this:

    Validate Zero payment Image 21


    2. To copy the value from Stripe to Cal field. Add the following conditions:

    Validate Zero payment Image 32

    3. Add another condition to hide the submit button if the Cal field has "0.00" as value.

    Validate Zero payment Image 43

    I have implemented this in my cloned form. Feel free to test and clone it.

    https://form.jotform.com/82343578067969
    Refer this guide to clone form from URL:
    https://www.jotform.com/help/42-How-to-Clone-an-Existing-Form-from-a-URL

    Let us know if this workaround worked.

    Thanks.


  • ARCC123
    Replied on August 23, 2018 at 10:43 PM

    I have added CAL as a hidden field but when I go to the next step*there
    is no 13. My Products*
    There is a 12. My services but can not select this field
    I am stuck on this step
    ...
  • roneet
    Replied on August 24, 2018 at 1:51 AM

    I have added these two conditions in your form.

    I would request you to kindly test your form if those conditions are working to hide the submit button.

    Let us know if you need further assistance.

    Thanks.

  • ARCC123
    Replied on August 24, 2018 at 3:43 AM
    Thank you kindly, that works very good. I just have 1 more amendment
    required:
    I would like to introduce validation to ensure the LATEST time is
    greater than EARLIEST time.

    You are welcome to do the amendment yourself or issue the instructions.
    Whatever you think best/easiest.
    Thanks/Andrew
    ...
  • roneet
    Replied on August 24, 2018 at 5:56 AM

    We are glad that the suggested workaround worked for you.

    To answer your second question I have separated the question in another thread to avoid confusion. You would be addressed in the following thread.

    https://www.jotform.com/answers/1561892

    Thanks.

  • ARCC123
    Replied on August 26, 2018 at 12:43 AM
    I kindly ask that you reinstate this version of the form. I have made
    various changes to the form to try introduce new validation but was
    unsuccessful and can not revert back to this version of the form.
    Thanks/Andrew
    ...
  • roneet
    Replied on August 26, 2018 at 2:33 AM

    Apologies for the inconvenience caused.

    Please note that you can take advantage of our "Revision History" feature to revert back your form to an earlier revision.

    You may like to take a look at the following guide which should help you:  

    Guide: https://www.jotform.com/help/294-How-to-View-Form-Revision-History 

    Here's a screencast guide:

    1535265192form Screenshot 10

     

    Do try it out and get back to us if you have any questions.

    Thanks.