Fast Secure Contact Form
Problem with form in php (1 post)

  1. taggie
    Posted 3 years ago #

    I am rebuilding a website which will have over 300 contacts email addresses and for which I'd like to use FSCF in several ways.

    Mostly working, but when I put the code into a page built with php (using the Shortcode Exec PHP plugin) I can't get it to work.
    I am very much a novice where php is concerned, so may be doing something stupid.

    1. If I use the php as at the bottom of this page: http://www.fastsecurecontactform.com/shortcode-options
    nothing appears.
    I guess the if ( isset($si_contact_form) ) isn't true. If I remove this I get an error message

    Fatal error: Call to a member function si_contact_form_short_code() on a non-object in /home/ .... /shortcode-exec-php-class.php(1069) : eval()'d code on line 230

    230 is the line:
    echo $si_contact_form->si_contact_form_short_code( array(

    2. Using echo do_shortcode I can get the form to appear on my page - but when I send a message it doesn't arrive!
    I have tested the same form and email address via a shortcode on its own page and it works fine there - messages sent DO arrive.

    3. Also, although I can get the form to appear by using "echo do_shortcode" I can only do this with one parameter - else I get an error
    "Parse error: syntax error, unexpected T_LNUMBER in /home/ ... /shortcode-exec-php-class.php(1069) : eval()'d code on line 226"
    I can get around this by using form 1, and so just setting the email_to parameter, and can manage with just having one form set in the php, but it would be good to have the option of setting more in this way.

    I would be very grateful for any advice.


Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Fast Secure Contact Form
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic