close ad
Install the LAtest Updates to Work with CC 2017 and CC 2018
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

Help with Contact Form

Thread began 8/21/2010 8:08 am by madelectrical386948 | Last modified 8/27/2010 1:51 pm by madelectrical386948 | 1521 views | 12 replies

madelectrical386948

Hi Jason,

Need more help. I have spent hours on this and I am glad I still have my sense of humor.

I don't know how many times I have made this contact page.

I figured out how to make the individual elements for my contact page. I am having problems with the radio groups.

I would like to ask the customer the Best time to reach them. When you create the element, it allows you to pick the radio group and I selected wide. I have selected validation, but what must I select for the empty value and invalid value? When I try to process the form and send it to my email, it can never validate.

What I'm I doing wrong?

Mike
Below is the radio button group

<div class="fullColumnGroup">
<label for="fieldset_group_Best_time_to_reach_you" class="sublabel" >Best time to reach you?:<span class="requiredIndicator">&nbsp;*</span></label>
<div class="errorGroup">
<div class="fieldPair">
<div class="fieldGroup"> <span id="fieldset_group_Best_time_to_reach_you_Spry"> <span class="radioFieldGroup_Wide" onblur="hideServerError('fieldset_group_Best_time_to_reach_you_ServerError');"> <span class="radioGroup_Wide"> </span> </span> <span class="radioRequiredMsg">Please select time.</span>
<input type="radio" name="radio" id="timeMorning" value="timeMorning" />
<label for="timeMorning">Morning</label>
<input type="radio" name="radio" id="timeAfternoon" value="timeAfternoon" />
<label for="timeAfternoon">Afternoon
<input type="radio" name="radio" id="timeEvening" value="timeEvening" />
Evening</label>
</span>
<?php
if (ValidatedField('contact','contact')) {
if ((strpos((",".ValidatedField("contact","contact").","), "," . "4" . ",") !== false || "4" == "")) {
if (!((strpos((",".ValidatedField("contact","contact").","), "," . "4" . ",") !== false || "4" == ""))) {
?>
<span class="serverInvalidState" id="fieldset_group_Best_time_to_reach_you_ServerError">Please select time.</span>
<?php //WAFV_Conditional contact.php contact(4:4)
}
}
}
?>
</div>
</div>
</div>
</div>

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