Hexagora Forum
Hexagora Forum
Home | Profile | Active Topics | Members | Search | FAQ
 All Forums
 Dynamic HTML Editor
 Dynamic HTML Editor
 Form validation fields...is it possible?

Note: You must be registered in order to post a reply.

Screensize:
UserName:
Password:
Format Mode:
Format: BoldItalicizedUnderlineStrikethrough Align LeftCenteredAlign Right Horizontal Rule Insert HyperlinkInsert Email Insert CodeInsert QuoteInsert List
   
Message:

* HTML is OFF
* Forum Code is ON
Smilies
Smile [:)] Big Smile [:D] Cool [8D] Blush [:I]
Tongue [:P] Evil [):] Wink [;)] Clown [:o)]
Black Eye [B)] Eight Ball [8] Frown [:(] Shy [8)]
Shocked [:0] Angry [:(!] Dead [xx(] Sleepy [|)]
Kisses [:X] Approve [^] Disapprove [V] Question [?]

 
   

T O P I C    R E V I E W
Testa Posted - 22 Feb 2011 : 00:24:25
Hi,

i tried the validation form, but i don't understand the difference between a required field and a simple field.

I need that one or more fields are needed for sending the form, while for the other fields is necessary make a verify only if they are compiled, but they aren't no requested for the send.

For example:
e-mail address: is required. The form is not sent if this field is empty or if it isn't a valid address.
Telephone number: is not required, but if it is compiled, it must be a number.

Is it possible, please?
At the moment i use a custom java script in the head code of the form containing page, and after the check of all needed fields, i have an action that calls a custom php script.

Thanks again.

Stefano.
1   L A T E S T    R E P L I E S    (Newest First)
s.dav Posted - 23 Feb 2011 : 19:09:31
Stefano,

you should try using a regular expression formula or a custom code as you already did.

Hexagora Forum © s.dav Go To Top Of Page
Snitz Forums 2000