Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

server side validation on dtc's

Status
Not open for further replies.

frogggg

Programmer
Jan 17, 2002
182
US
Can someone point me in the right direction, please?
I'm trying to validate some form fields in VI using dtc's.
I have an onClick event which reads all values from the page and writes them to the db using addImmediate.
I would like to get the values from the form and rewrite the form with the correctly filled in values included and the incorrect ones' label in red.
The question is, since you cannot create dtc's in script on the fly, how can I do this?
Or do I have to use error messages one by one i.e.
if field.value = "" then
response.write "You must fill in field."
end if

Thanks for any advice.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top