Contact Form Issue
2 posts by 2 authors in: Forums > CMS Builder
Last Post: May 18, 2011 (RSS)
By dccreatives - May 18, 2011
I created a contact form using the php form supplied by one of the posters on this forum. The form is working as a standalone page, however when I place the code into the CMS builder admin section (in the WYSWYG editor) the values are being displayed within the fields on the fromt end.
How should I modify this so that the fields are empty? To see what I mean, please click on the link below.
http://www.axislighting.com/CMS/companyDetail.php?7
Thanks!
How should I modify this so that the fields are empty? To see what I mean, please click on the link below.
http://www.axislighting.com/CMS/companyDetail.php?7
Thanks!
Re: [dccreatives] Contact Form Issue
By Jason - May 18, 2011
Hi,
In the HTML you need to remove the code inside the "value" attribute:
For example, change:
To
Hope this helps
In the HTML you need to remove the code inside the "value" attribute:
For example, change:
<input name="fullname" size="50" value="<?php echo htmlspecialchars(@$_REQUEST['fullname']); ?>">
To
<input name="fullname" size="50" value="">
Hope this helps
---------------------------------------------------
Jason Sauchuk - Project Manager
interactivetools.com
Hire me! Save time by getting our experts to help with your project.
http://www.interactivetools.com/consulting/
Jason Sauchuk - Project Manager
interactivetools.com
Hire me! Save time by getting our experts to help with your project.
http://www.interactivetools.com/consulting/