Wrox Programmer Forums
|
VBScript For questions and discussions related to VBScript.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the VBScript section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
  #1 (permalink)  
Old October 27th, 2003, 02:02 PM
Authorized User
 
Join Date: Oct 2003
Posts: 29
Thanks: 0
Thanked 0 Times in 0 Posts
Default form validating

I have been trying to validate form that consists of 5 columns and 6 rows. I have 2 Drop down listboxes and one textfield.

Here is the my table form:

NUM TEXT LISTBOX1 TEXTFIELD LISTBOX2
1 A (12 options) (any text) (8 options)
2 B (12 options) (any text) (8 options)
3 C (12 options) (any text) (8 options)
4 D (12 options) (any text) (8 options)
5 E (12 options) (any text) (8 options)
6 F (12 options) (any text) (8 options)

User can allow to choose either only one record or multiple records.
For example if user choose first record, I would like to validate/check LISTBOX1, TEXTFIELD, LISTBOX2 fields for the row NUM1. ( I want user to choose/fill all these three fields.) Another example, If the user choose row NUM2 and row NUM3, I would like to validate/check LISTBOX1, TEXTFIELD, LISTBOX2 fields for the both row NUM2 AND row NUM3. ( In other words I do not want user to leave blank fields for NUM2 and NUM3 rows.)

I hope, I did not get confused you with my explanation.

I tried to use JScript to validate it, but I failed. If you can help me I really appreciate.

Thanks all...





Similar Threads
Thread Thread Starter Forum Replies Last Post
Validating users hcusto ASP.NET 2.0 Professional 3 August 10th, 2006 03:25 AM
bindingsource validating gpizzuto Visual Basic 2005 Basics 0 April 26th, 2006 05:27 PM
validating fields in windows form ranakdinesh BOOK: Professional C#, 2nd and 3rd Editions 2 May 29th, 2004 08:28 AM
Validating a form field against a database microchip Classic ASP Basics 2 April 24th, 2004 04:07 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.