/    Sign up×
Community /Pin to ProfileBookmark

form validation

What was the reason for this validation? I am working on a website where the checkout is through Paypal. The client wants validation on one field to make sure it is filled out before checkout. I cannot alter Paypal’s checkout button. I have tried various ways. Do you have any suggestions? Here is the code for the radio buttons:

<td class=”style4″>
<input type=”hidden” name=”on3″ value=”HOW DID YOU HEAR ABOUT US” class=”style4″>*HOW DID YOUR HEAR ABOUT US</br></td></tr>

<tr>
<td class=”style4″><select name=”os3″>
<option value=”Fisher House Foundation”>Fisher House Foundation </option>
<option value=”Custom Apparel Group”>Custom Apparel Group </option>
<option value=”Other”>Other </option>
</select> *If other is chosen, please enter name of affiliation below.</td></tr>
<tr>
<td class=”style4″ style=”height: 23px”>
<input type=”hidden” name=”on4″ value=”Other”>
Other:<br />
<input type=”text” name=”os4″ maxlength=”120″></td></tr>

to post a comment
JavaScript

2 Comments(s)

Copy linkTweet thisAlerts:
@raj_2006Oct 23.2010 — Hi Jud,

You need to validate the selectbox first and next if the value is "other" then make sure if the text box is filled up...

I think its better if you open a new thread for this issue....

Good luck,
Copy linkTweet thisAlerts:
@OfekmeisterOct 23.2010 — Bump.
×

Success!

Help @Judi0614 spread the word by sharing this article on Twitter...

Tweet This
Sign in
Forgot password?
Sign in with TwitchSign in with GithubCreate Account
about: ({
version: 0.1.9 BETA 5.24,
whats_new: community page,
up_next: more Davinci•003 tasks,
coming_soon: events calendar,
social: @webDeveloperHQ
});

legal: ({
terms: of use,
privacy: policy
});
changelog: (
version: 0.1.9,
notes: added community page

version: 0.1.8,
notes: added Davinci•003

version: 0.1.7,
notes: upvote answers to bounties

version: 0.1.6,
notes: article editor refresh
)...
recent_tips: (
tipper: @AriseFacilitySolutions09,
tipped: article
amount: 1000 SATS,

tipper: @Yussuf4331,
tipped: article
amount: 1000 SATS,

tipper: @darkwebsites540,
tipped: article
amount: 10 SATS,
)...