Condition to disable form submit does not seems to work.

  • Profile Image
    LBHluxe
    Asked on January 30, 2017 at 02:38 AM

    i've put conditions in my form to be sure that, if someone enter a reference that doesn't content or doesn't begin with a suit of characters i've decided the form can't be submitted, but the form is validated despite of a wrong reference

  • Profile Image
    ashwin_d
    Answered on January 30, 2017 at 03:15 AM

    Hello LBHluxe,

    I did check the conditions you have added and it will not helps you achieve your requirement. You have added condition to check if "Référence client" does not contain or starts with "LBH_luxeBD" you are making "Référence client" a required field. Please note that if the value does not match it will make the field required but since it will have any value, form will be allowed to be submitted.

    The best way to solve this problem is to add condition to show/hide submit button if "Référence client" does not starts with "LBH_luxeBD". 

    Please take a look at the following cloned form and see if this works as expected:  https://form.jotform.com/70292100696958 

    Feel free to clone this form for a closer look. The following guide should help you in form cloning:  https://www.jotform.com/help/42-How-to-Clone-an-Existing-Form-from-a-URL

    Hope this helps.

    Do get back to us if you have any questions.

    Thank you!

  • Profile Image
    LBHluxe
    Answered on January 30, 2017 at 09:45 AM
    i've clone the form, but now, submission button doesn't appearDemande de devis

    |
    |
    |
    | | |
    |
    |
    |
    | |
    Demande de devis
    | |
    |
    |


    Le Lundi 30 janvier 2017 9h15, JotForm a écrit :

    New response received A new response has been received: Answered by ashwin_d Hello LBHluxe,I did check the conditions you have added and it will not helps you achieveyour requirement. You have added condition to check if "Référence client" doesnot contain or starts with "LBH_luxeBD" you are making "Référence client" arequired field. Please note that if the value does not match it will make thefield required but since it will have any value, form will be allowed to besubmitted.The best way to solve this problem is to add condition to show/hide submitbutton if "Référence client" does not starts with "LBH_luxeBD". Please take a look at the following cloned form and see if this works asexpected:  https://form.jotform.com/70292100696958 Feel free to clone this form for a closer look. The following guide shouldhelp you in form cloning:  https://www.jotform.com/help/42-How-to-Clone-an-Existing-Form-from-a-URLHope this helps.Do get back to us if you have any questions.Thank you! View this thread on browser » Unsubscribe Thread 1485764145

    ...
  • Profile Image
    ashwin_d
    Answered on January 30, 2017 at 10:53 AM

    Hello LBHluxe,

    That is because its conditionally hidden. I would suggest you to please add "LBH_luxeBD" in "Référence client" field and then only submit button should be displayed. Please check the screenshot below:

     

    This is what you want to achieve right? Disable submission if the field "Référence client" does not have "LBH_luxeBD". 

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

    Thank you!