close ad
 
Important WebAssist Announcement
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

drop down box

Thread began 4/11/2009 10:24 pm by Vikingbear | Last modified 4/16/2009 2:08 pm by Ray Borduin | 2495 views | 3 replies |

Vikingbear

drop down box

Hi,

How do you use the Contact Form Solution on drop-down boxes?
The options given really only work on TEXT fields...

<input name="Contact_Name" type="text" id="Contact_Name" class="formInput" value="<?php echo(ValidatedField("contact","Contact_Name")) ?>" />
<input name="addblock1" type="text" id="addblock1" style="display:none" value="" />
<br />
<?php
if (ValidatedField("contact","contact")) {
if ((strpos((",".ValidatedField("contact","contact").","), "," . "1" . ",") !== false || "1" == "")) {
if (!(false)) {
?>
<p class="emailFormError style1">* Please provide your Full Name.</p>
<?php //WAFV_Conditional contact.php contact(1:)
}
}
}?>

Sign in to reply to this post

Ray BorduinWebAssist

Select fields should behave the exact same way as text fields. What have you tried? Where are you running into trouble?

Sign in to reply to this post
Did this help? Tips are appreciated...

Vikingbear

Drop Down Box

Hi, Ray

The problem is the VALUE field
value="<?php echo(ValidatedField("contact","Contact_Name")) ?>" />

in a dropdown box, it is not what the user types in but a set value for each option..

Regards, Ken

Sign in to reply to this post

Ray BorduinWebAssist

Are you using Dreamweaver? use the dreamweaver properties panel to set the values in the list. Set the selected value in that interface to: <?php echo(ValidatedField("contact","Contact_Name")) ?>

Sign in to reply to this post
Did this help? Tips are appreciated...

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