Ask a Question related to Macromedia Exchange Dreamweaver Extensions, Design and Development.
-
gambool #1
Form validation - Textbox not default value
I've been using Yaromats excellent extension to validate my forms. Usually
works great, but now I have a new requirement.
Some of my forms textboxes have default values. As an example, I have a
search box on all my pages, with the default text set to 'search for products':
<input name="find" type="text" class="frmSearchText" id="find"
onfocus="this.value=(this.value=='search for products')?'':this.value;"
onblur="this.value=(this.value=='')?'search for products':this.value;"
value="search for products"/>
Is there any way that I can validate this to make sure the user has input a
new value? i.e. textbox value <> "search for products"
Many TIA
gambool.
gambool Guest
-
Client-Side Validation of asp:TextBox with Javascript
Hi - I'm trying to do client-side validation of the text in a Asp.Net textbox control using javascript. My page has the following: <form... -
CFFORM Validation trumping Custom Form Validation
Is there any way for custom form validation to work in concert with the cfform validation? I have a custom script that compares the values of two... -
Textbox Validation
I have an application in which among other checks I have 'STD_INSTRCTNL_DY' field populated from the database. It's defined as a Varchar(2). For all... -
Nice textBox w/built in validation problem
Attached is an article on how to create a textbox control with built in validation. See... -
DatGrid TemplateColumn TextBox JavaScript ClientSide Validation?
Hi, I am using 2 TemplateColumn TextBoxs in my Grid. On the Submit button click event I want to do the validation on the client side. In the...



Reply With Quote

