Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

Coding Forum


You are currently viewing our Coding Forum as a guest. Please register to participate.
Login



Reply
Old 06-19-2002, 01:11 AM form.
praveen's Avatar
Life is a Dream

Posts: 3,591
Name: Praveen
Location: Chennai, India
Trades: 0
hi,

i got a page wherein i will have 2 forms.

in these 2 forms there will 1 common field.

like 1st form will have a checkbox with the name chkbox
second will also have the same name chkbox


now both these fields are mandatory. they have to be filled in.

now when i am validating the form, i want to give a single code and not say

"document.formname.fieldname.xxx"

instead i want to finish it off like
"document.form.fieldname" or document.fieldname.

i am looking for a single line code and not multiple where in i have to give the form names, cos in the near future there may be multiple forms in the page having same fields.

so then this process becomes little tedious.

any idea how to go abt this?
__________________

Please login or register to view this content. Registration is FREE
-
Please login or register to view this content. Registration is FREE
-
Please login or register to view this content. Registration is FREE
-
Please login or register to view this content. Registration is FREE
praveen is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Reply     « Reply to form.
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 0.21251 seconds with 12 queries