One way, would be to add textbox1_required hidden form element for the
matching element named textbox1 in your form.

This way, CF automatically displays a page saying textbox1 is required and
user can use back button to enter information for that field.

Other way, would be on form processing page, you could have a validation
routine, which shows which fields were not entered by user.

Algorithm would be :

<cfif not len(textbox1)>
<cfset errorMsg = "textbox1 is required">
</cfif>

You can go on appending other element names to this string and display
later.

HTH


<Ajas Mohammed />
http://ajashadi.blogspot.com
We cannot become what we need to be, remaining what we are.
No matter what, find a way. Because thats what winners do.
You can't improve what you don't measure.
Quality is never an accident; it is always the result of high intention,
sincere effort, intelligent direction and skillful execution; it represents
the wise choice of many alternatives.


On Mon, Jan 26, 2009 at 5:27 PM, Ecung II,Ramon J <[email protected]>wrote:

>  Hey, I've got a quick question. I have a form with about 200 questions on
> it with all of the questions being required.
>
>
>
> Right now if a user doesn't input any data and just hits submit, an alert
> box pops up that is too large for the screen. Does anyone have any ideas
> about how make this more user-friendly?
>
>
>
> Ramon Ecung, BS, ACHDS, MCP
>
> Support Services Analyst - Web Application Developer
>
> Division of Cancer Medicine - FC10.2005
>
> 713-794-4273 | [email protected] | Unit 421
>
>
>
>
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the "Houston ColdFusion 
Users' Group" discussion list.
To unsubscribe, send email to [email protected]
For more options, visit http://groups.google.com/group/houcfug?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to