Hi,

There's an error in showing the preview page in webforms.

We have activated the option in Webform > Form settings > Preview Page but when I press the Send button it goes directly to the thanks page.

Then we found the error: In the preview's page configuration, when the "Preview button label" is set to the value "Submit", then there's a bug and the webform thinks it's the submit button and not the preview page one.

http://civicrm.stackexchange.com/questions/10392/preview-page-not-shown-...

CommentFileSizeAuthor
#3 preview_page_not_shown-2789121-3.patch814 bytesDev1.addweb

Comments

hgarcia created an issue. See original summary.

jitujain’s picture

Hi hgarcia
Can you tell me that how you change the label of preview button. Can you paste the lines of code by which you have changed the label of preview button.

Dev1.addweb’s picture

Status: Active » Needs review
StatusFileSize
new814 bytes

Apply following patch to make things work: preview_page_not_shown-2789121-3.patch

riddhi.addweb’s picture

Status: Needs review » Reviewed & tested by the community

Hello Deepali,

Your Patch works well for me.

Thanks!

liam morland’s picture

Status: Reviewed & tested by the community » Needs work

Thanks for the patch. This needs a test. There is no reason to call t() with the empty string.

liam morland’s picture

Status: Needs work » Closed (outdated)

Drupal 7 is no longer supported. If this applies to a supported version, please re-open.

Now that this issue is closed, please review the contribution record.

As a contributor, attribute any organization that helped you, or if you volunteered your own time.

Maintainers, please credit people who helped resolve this issue.

fjgarlin’s picture

Disregard comment. Fixing indexing issue.