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

Latest Blog Post:
The Best Music
Posts: 3,572
Location: in a distant land far away from reality
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?
__________________
Praveen
Web Tools - Smilies - Celebs - Bookmarks - Indian Food - Create a Poll

Useful Threads, Tutorials and Resources
Graphics - Templates - Dreamweaver - Javascript - SEO - Ruby on Rails - Ajax Tutorials - More Ajax - CSS - More CSS
praveen is offline
Reply With Quote
View Public Profile Visit praveen's homepage!
 
When You Register, These Ads Go Away!
Reply     « Reply to form.
 

Thread Tools

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

vB 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.10591 seconds with 12 queries