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 bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Custom display for incomplete form entries

Status
Not open for further replies.

effennel

Technical User
Oct 15, 2002
60
CA
Hello,

I would like to customize the message I get when I use the "_required" tag on form entries.

I get this ugly grey box... Any ways I can change that?

Thanks
FnL
 
effennel - Are you using cfform? If so you can use cfinput and set a message to be displayed. I haven't used the built in form validation for a while.
 
Unless you're using a flash form the "ugly grey box" is the standard alert() box in JS.

If you want something else you'll have to:

1. look into learning JS and creating a pop-up (which these days would most likely be blocked)

2. or use CF to do the validation and spit out the error anyway you want after the page is submitted.

cfform = evil

We've heard that a million monkeys at a million keyboards could produce the complete works of Shakespeare; now, thanks to the Internet, we know that is not true.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top