Home › Forums › Other › Can someone recommend a customizable contact form, please? › Reply To: Can someone recommend a customizable contact form, please?
July 16, 2014 at 5:15 am
#175549
Anonymous
Inactive
Greetings Traq,
I changed this:
return $this->_notice.str_replace( $placeholders,$replacements,$this->_htmlMarkup );
to this:
return str_replace( $placeholders,$replacements,$this->_htmlMarkup );
and added this on the same form.php after initially putting it on the wrong php:
public function htmlMarkup_userNotice(){
return ($this->_notice)?
"<p>".htmlspecialchars( $this->_notice )."</p>":
false;
I have added this to the contact page:
<div>
<?= $contactForm->htmlMarkup( "http://www.wslmf.org/new/test/success.php" ); ?>
</div>
I am not sure I have the above correct however.
I don’t believe I am getting this in the correct place either
<?= $contactForm->htmlMarkup_userNotice() ?>
as the form submits, but doesn’t direct to the success.php page.
Best Regards.