I'm using a webform with modal form module. When I submit the webform, it shows an intermediate page with "Save" button and all the values pre-populated and after clicking save, it shows the results screen after.
Without the modal form module, On clicking submit button, it goes to the results screen straight away. I'm not sure why modal forms is introducing the save page. I want to eliminate that "Save" page and want to directly show the results screen after clicking the submit button.
Code I use to launch the webform:
<p><a class="ctools-use-modal ctools-modal-modal-popup-medium" href="/modal_forms/nojs/webform/11667">Link to click</a></p>
Comment | File | Size | Author |
---|---|---|---|
#8 | fix_webform_confirmation-2598962-1.patch | 611 bytes | nsshrinivasan |
Comments
Comment #2
nsshrinivasan CreditAttribution: nsshrinivasan commentedComment #3
petednz CreditAttribution: petednz commentedHi - hitting same issue when testing Modal Forms - did you make any progress? also hoping that 'Submit' would suffice and also close the pop-up
Comment #4
nsshrinivasan CreditAttribution: nsshrinivasan commentedI had to use a patch for the modal form module to solve it.
Comment #5
petednz CreditAttribution: petednz commentedhey thanks. can you clarify if this is a patch on another ticket, or one you created? if the latter, can you add it to this ticket?
Comment #6
nsshrinivasan CreditAttribution: nsshrinivasan commentedI got the patch from drupal forum, but I can't find it now. I will upload it when I find it.
Comment #7
petednz CreditAttribution: petednz commentedThank you. That would be helpful
Comment #8
nsshrinivasan CreditAttribution: nsshrinivasan commentedThis could be the patch that fixed the intermediate "save" screen.
Comment #9
petednz CreditAttribution: petednz commentedFor completeness, above is related to https://www.drupal.org/node/2598962
Comment #10
nsshrinivasan CreditAttribution: nsshrinivasan commented