• Resolved Pamela Rebelo

    (@pamdemel)


    Hi everyone, is it possible to return the value of the Name field on the “Thank you” message? How can I do that?

    Thanks.

    • This topic was modified 7 years, 8 months ago by Pamela Rebelo.
Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author Nick Ciske

    (@nickciske)

    Not right now. Merge tags for the success message are a great idea though.

    I’ll see if I can get that in the next release.

    Thread Starter Pamela Rebelo

    (@pamdemel)

    Thanks for the answer, Nick!

    Actually I was asked to display the value of the Name field on a modal/lightbox that opens after the user submits the form.

    Is that totally impossible? If there is some possibility, could you show me same code sample please?

    Thank you again!

    Plugin Author Nick Ciske

    (@nickciske)

    PHP
    <?php echo esc_html( $_POST[‘sf_name’] ); ?>

    Javascript
    Can’t read POST variables… so you’d need to output a variable declaration inline on the page using a filter… then read that in the modal.

    So… not really any easy solutions here, sorry!

    I could help you if you purchased premium support:
    https://luminfire.com/support/premium-plugin-support/

    Thread Starter Pamela Rebelo

    (@pamdemel)

    I’m going to ask my client about the premium support, because the job is not really for me ??

    But no problem, thank you so much again!

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Return name field value’ is closed to new replies.