close ad
 
Important WebAssist Announcement
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

Problem with form builder

Thread began 6/12/2012 4:29 pm by InDesigns Studio | Last modified 6/13/2012 11:15 am by InDesigns Studio | 845 views | 2 replies |

InDesigns Studio

Problem with form builder

Need to know if anyone can help. I am getting an error on the message sent through form builder when someone submits. I am also having problems on checkboxes. When someone checks a checkbox it does not show what they have checked on the email.

1ST Problem - Error Warning on email sent.

Warning: stripslashes() expects parameter 1 to be string, array given in /home/content/35/9392335/html/webassist/email/templates/Blank_12.php on line 44

2nd Problem - Checked box does not show that a box was checked.


Would really appreciate someones help on this. I have added files pertaining to the problems on a zip file. The templates/Blank_12.php file along with the contactus.php file.

Let me know if you have any questions or additional files you may need.

Attached Files
formbuilderproblems.zip
Sign in to reply to this post

Jason ByrnesWebAssist

the name of the checkboxes is not valid, form element names cannot contain spaces. The checkbox name:
confirm by[]

should be changed to:
confirm_by[]


to fix the error, in the Blank_12.php file, edit line 44:

php:
if (get_magic_quotes_gpc()) $pval = stripslashes($pval);




to:

php:
if (get_magic_quotes_gpc()) $pval = stripslashes((is_array($pval)?implode(", ",$pval):$pval));
Sign in to reply to this post

InDesigns Studio

Form Builder Issues

I appreciate your help on this. I can always count on webassist support.


Jaydee Escobedo
InDesigns Studio/Houston Business Listing

Sign in to reply to this post

Build websites with a little help from your friends

Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.

Build websites from already-built web applications

These out-of-the-box solutions provide you proven, tested applications that can be up and running now.  Build a store, a gallery, or a web-based email solution.

Want your website pre-built and hosted?

Close Windowclose

Rate your experience or provide feedback on this page

Account or customer service questions?
Please user our contact form.

Need technical support?
Please visit support to ask a question

Content

rating

Layout

rating

Ease of use

rating

security code refresh image

We do not respond to comments submitted from this page directly, but we do read and analyze any feedback and will use it to help make your experience better in the future.

Close Windowclose

We were unable to retrieve the attached file

Close Windowclose

Attach and remove files

add attachmentAdd attachment
Close Windowclose

Enter the URL you would like to link to in your post

Close Windowclose

This is how you use right click RTF editing

Enable right click RTF editing option allows you to add html markup into your tutorial such as images, bulleted lists, files and more...

-- click to close --

Uploading file...