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

    Submit button required to capture data?

    Asked by Vdelmonaco on February 10, 2014 at 05:48 PM

    Hello,

    The purpose of this form is to have Job Applicants answer a series of questions. If not answered correctly, they will receive a message stating "not qualified" if answered correctly, they will be directed to the Job Specific questions (depending on the selections at the top of the form). If the Job Specific questions are not answered correctly, they will receive a message stating "not qualified" if answered correctly; they will then receive a link to our third party Job Applications website.

    As you can see here, there is no need for a SUBMIT button. Is there a way to capture the the end user's answers without having a SUBMIT button? If so, how?

    If a SUBMIT button is required to capture data, then please provide instructions on the best way to integrate the SUBMIT button on this form.

    Thank you,

    Vic

    Page URL:
    http://delmonacofoods.businesscatalyst.com/careers.html

    message integrate hello then
  • Profile Image
    JotForm Support

    Answered by jonathan on February 10, 2014 at 06:24 PM

    Hi Vic,

    Actually, the issue with your idea is -- you will not be able to get the submission data and you will never get to know the Applicants answers, if the form will not be submitted.

     

     Is there a way to capture the the end user's answers without having a SUBMIT button? If so, how?

     

    The form can be auto-submitted using an added outside code when using the form's source code.

    If you use a source code embedding option, you can use the following script to autosubmit your form on the page load:

    <script type="text/javascript">

    function formAutoSubmit () {

    var frm = document.getElementById("1234567890");

    frm.submit();

    }

    window.onload = formAutoSubmit;

    </script>

    Where the 1234567890 value should be replaced with your form ID.

    Inform you need any further assistance.

    Thanks.

  • Profile Image

    Answered by Vdelmonaco on February 10, 2014 at 07:20 PM
    Thank you, and...
    Where would I place the auto-submit source code? At what point would the data be submitted?
    Please give me instructions on how best to use a SUBMIT button for this form (if I choose to use a SUBMIT button)
    Thank you,
    Vic
    ...
  • Profile Image
    JotForm Support

    Answered by jonathan on February 10, 2014 at 07:57 PM

    Hi Vic,

    If you are referring to this form https://www.jotform.com/40406259101140 , I think it will do without using the form's source code... let us try to achieve that.

    You can add the Submit button at the very last page of the form.

    In the page where it validates whether the user qualified or not, make that page jump to the last page next if the user did not qualify -- if they qualify, retain the currently setup condition.

     

    Refer to this guide https://www.jotform.com/help/57-Smart-Forms-Using-Conditional-Logic

    for the conditional custom Thank You Message setup.

    Inform us if you need further assistance.

    Thanks.

  • Profile Image
    JotForm Support

    Answered by jonathan on February 10, 2014 at 08:08 PM

    After further review of the form, I got to understand what you did.

    Your fom actually contains several forms that were embedded within the Iframe Widget.

    You can just use Submit button to each of those embedded forms. Anyway they are stand-alone form. After the user submit within the Iframe Widget, you can show the Thank You message of each form.

    Hope this help.

    Thanks.

  • Profile Image

    Answered by Vdelmonaco on February 10, 2014 at 08:40 PM
    Great, I will test using Submit on each embedded form. However, I would also like to capture the set of questions we have prior to the embedded forms. Can you give me a suggestions for this?
    ...
  • Profile Image
    JotForm Support

    Answered by jonathan on February 10, 2014 at 09:22 PM

    However, I would also like to capture the set of questions we have prior to the embedded forms. 

    I agree that this can be tricky indeed, due to the way have setup the other forms as stand-alone.

    As is now, the only way to capture the initial information is if the submission is "not qualify" -- because that is the only submission for the main form.

    The only solution I can really think of right now is to move all those initial information to all those stand-alone forms. Then just like the condition on the main form, add a collapse field and 2 submit button into those stand alone form.

    The condition will be base on qualify and not qualify, if not qualify show the submit button that will direct to custom Thank You Message -- if qualify show the collapse that contains all the other questions for qualify, this also contains its own submit button so that when submitted the qualify data/information will be captured.

    Hope I am able to explain it easily. Inform us if further assistance is needed.

    Thanks!

  • Profile Image

    Answered by Vdelmonaco on February 13, 2014 at 01:10 AM
    Great idea Jonathan, having two submit buttons is preferred so we can capture both scenarios (questions answered correctly and answered wrong)...
    However,how can I get each submit button tobehave differently?When I change one Submit button, it is automatically changing the other. Pleasehelp.
    Thank you,
    Vic
    ...
  • Profile Image
    JotForm Support

    Answered by EltonCris on February 13, 2014 at 02:48 AM

    Hi Vic,

    Sorry I am having a little difficulties understanding this line.

    "When I change one Submit button, it is automatically changing the other."

    Do you mean when you edit the submit button on the form builder? Did you add two separate submit buttons? I can change and customize each submit button without any problem.

    We'd appreciate if you could provide more details about the problem.

    Thanks!