Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #222018

    hi,

    i know there are more complex form editors but i already have a form that is working perfectly from the default contact form in Enfold – except that I need the {date} selected to become the email subject line… is there any way this is possible?

    just don’t want to have to create the form from scratch…

    not sure if u can put certain html in the custom subject field?

    this is the form…

    http://bikinibootcamp.com/contact

    thanks so much!

    jaz

    #222542

    Hi,

    This may work, try the following: open /framework/php/class-form-generator.php and look for line 568:

    $subject 	= empty($new_post['subject_'.$this->formID]) ? __("New Message", 'avia_framework') . " (".__('sent by contact form at','avia_framework')." ".$myblogname.")"  : $new_post['subject_'.$this->formID];
    

    Replace it by this:

    $subject = $_POST['avia_im_interested_in_bikini_bootcamp_1'];
    

    Regards,
    Josue

Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.