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>

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

nsshrinivasan created an issue. See original summary.

nsshrinivasan’s picture

Issue summary: View changes
petednz’s picture

Hi - hitting same issue when testing Modal Forms - did you make any progress? also hoping that 'Submit' would suffice and also close the pop-up

nsshrinivasan’s picture

I had to use a patch for the modal form module to solve it.

petednz’s picture

hey 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?

nsshrinivasan’s picture

I got the patch from drupal forum, but I can't find it now. I will upload it when I find it.

petednz’s picture

Thank you. That would be helpful

nsshrinivasan’s picture

This could be the patch that fixed the intermediate "save" screen.

petednz’s picture

For completeness, above is related to https://www.drupal.org/node/2598962

nsshrinivasan’s picture

Status: Active » Closed (fixed)