WordPress.org

Support

Support » Plugins and Hacks » Fast Secure Contact Form » hidden field value depending on Page or Post where contact form is used

hidden field value depending on Page or Post where contact form is used

Viewing 3 replies - 1 through 3 (of 3 total)
  • Hi Benjoe Bondoc, as far as I know you can’t set up the form based on your request. However you can create a support ticket to @mike Challis regarding your question.

    The following is what @mike Challis says in this website.

    Hidden field:
    The hidden field is used if you need to pass a hidden value from the form to the email message. The hidden field does not show on the page.
    Version 3.xx: You must set the label and the value. First enter the label, a comma, then the value. Like in this example: Language,English
    Version 4.xx: You must set the field name and default value.

    If your question has being answered can you mark this support thread as resolved.

    Thank you

    Hi Mr mbsolution..

    actually i think i found a way to do just what i need.. using shortcodes from the plugin..

    [si-contact-form form='1' hidden='key=value']

    but you have to enable php sessions settings on the form you are using and since the shortcode is being included on my theme file i can manipulate what value i want to put for the hidden input field..

    for example

    <?php
    $my_shortcode = '[si-contact-form form=\'2\' hidden=\'pagetitle=' . get_the_title().  '\']';
    ?>
    <?php echo do_shortcode($my_shortcode); ?>

    still working on it though..

    thanks a lot sir for the heads up..

    Hi Benjoe Bondoc, thank you for the information. Let me know how you achieve this, I might add it to one of my tutorials 🙂 if you don’t mind…

    Thank you

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘hidden field value depending on Page or Post where contact form is used’ is closed to new replies.
Skip to toolbar