how to submit the whole form when it contains an iframe embed widget

  • Profile Image
    WCSPC
    Asked on October 13, 2014 at 03:00 AM

    Hi followed the advice on the user forum for creating a form with multiple payments and have embedded this using the iframe widget. The problem is when the user submits the form it is only the form in the iframe and not the whole form.

    I can redirect to a different URL on submit but this will put the data in a different place and I wanted everything in the same spread sheet as I integrate with google spreadsheets.

    Is there a better fix?

     

    Thanks Wiveypool

  • Profile Image
    jedcadorna
    Answered on October 13, 2014 at 08:12 AM

    Unfortunately, it will just submit what is embedded in an iframe. Multi payment option lets user have another payment since Jotform builder does not allow 2 payment options. This is just a work around if you want to provide options to the users.

    Maybe you can try to copy the complete form to your other Jotform then hide the fields and only show your 2nd or 3rd payment option.

    Once you have done that you can download the complete form source to pass the value from your original Jotform to your embedded iframe

  • Profile Image
    WCSPC
    Answered on October 13, 2014 at 08:31 AM
    I cannot see how this will pass all the data from the various forms into
    ...
  • Profile Image
    jedcadorna
    Answered on October 13, 2014 at 10:03 AM

    Ok sorry. I was testing this method and it seems not possible to pass from main to 2nd or 3rd form inside your main form. You can only prepopulate value, but that would be on form load and not user's input from your main forms field.

    Maybe customizing your own PHP would allow this, but I'm not 100% sure.