Form Validations: Trigger validations as soon as pre-populated URL is loaded.

  • Profile Image
    jetdb
    Asked on July 06, 2017 at 07:17 AM

    I have set the question text input box options to have a mask and length and read only and Required and hidden which needs to act as a custom variable using the paypal express element

     How come the form is processed when I only start the browser with the given link to the form with out passing the custom field to it

    I'm still far from what I want to test and do please help removing the limitation for the payment submissions untill when I'm comfortable  to go live  and move from sandbox to the live account..

    Thanks

  • Profile Image
    Welvin
    Answered on July 06, 2017 at 11:25 AM

    When you say "processed", you mean the form is automatically submitted as soon you open it on your browser? Would you mind telling us how to replicate it? That way, we know what to check in the form.

    With regards to the payment limit, I have reset it for you. You should be able to do more testing. 

  • Profile Image
    jetdb
    Answered on July 06, 2017 at 12:09 PM

    When i navigate to the form without appending the Required parameter to the link (the form) the custom field parameter which is obligatory for the submission to be pre qualified:

    when  submit is pressed (or when the page first loads ..) it should say that the parameters don't match in with the mask the length , Required to not be empty .etc instead it just continues the process without stopping or giving some error or anything , when it should

    thanks for resetting the submission , i bet i will need to reset it a few more times , till I will be satisfied with my tests

    Thanks

  • Profile Image
    Kevin_G
    Answered on July 06, 2017 at 01:51 PM

    I have been testing the workflow as you reported, filling the field through the URL does not seem to trigger the validation errors, but they will be triggered as soon as you either try to submit the form or move to a different page, this means that the form cannot be submitted with these errors. 

    I've cloned your form and tested on my end with this link: https://form.jotformpro.com/71865189938981?identification=1223 

    Do you want the validation errors to be triggered as soon as the form with pre-filled values is loaded? 

    Please, let us know. 

  • Profile Image
    jetdb
    Answered on July 06, 2017 at 03:06 PM

    Yes, since the field is also going to be hidden and read only, I need the form to throw an error when the page loads and when submit is clicked

    if the length of the parameter does not equal the given length or if the mask doesn't match the given forms mask as in the settings then have a same error description\notification for both case scenarios that the link is not not qualified ..

    Thanks

     

  • Profile Image
    Kevin_G
    Answered on July 06, 2017 at 03:57 PM

    I will forward this to our second level, although we cannot provide an ETA, we will let you know as soon as we get any update about it. 

  • Profile Image
    jetdb
    Answered on July 06, 2017 at 11:59 PM

    Thanks again