close ad
 
Important WebAssist Announcement
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

Form Fields

Thread began 3/24/2010 1:02 pm by shadow329043 | Last modified 6/23/2010 6:47 pm by shadow329043 | 2955 views | 9 replies

design240055

Looping Template - How to remove unwanted fields

I've worked on this all day & still can't get rid of the security Answer field, hidden field & submit button value. Seems like it should be basic, but it's totally whipped me until...

This works using a template for the email form.

Near the top of the template is this nifty bit of code:

$removeIncludes = array();
$removeIncludes[] = "Security";

All you have to do is extend this array using the field names for the fields you want to get rid of.

For instance in my case the revised code looks like this:

$removeIncludes = array();
$removeIncludes[] = "Security";
$removeIncludes[] = "KGA_submit";
$removeIncludes[] = "HiddenFields_fields";
$removeIncludes[] = "Stay_Kauai_Rental_Inquiry_group_Answer";

Effectively removing from the email the submit button value, hidden fields & the security answer.

Using the binding method above & hand coding the fields works fine until I come across a checkbox group... OK, I _could_ probably figure out how to do a checkbox group, but it really is easier to do it in the loop

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...