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

  • WCSPC
    Asked on October 13, 2014 at 3: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

  • jedcadorna
    Replied on October 13, 2014 at 8: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

  • WCSPC
    Replied on October 13, 2014 at 8:31 AM
    I cannot see how this will pass all the data from the various forms into
    ...
  • jedcadorna
    Replied 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.