Dan... I saw you speak at CF North in Toronto in 2001 (or was it 2002). That was my first XP with QForms and I was riveted. Thanks for the input and we'll see how that works.
<!----------------//------ andy matthews web developer ICGLink, Inc. [EMAIL PROTECTED] 615.370.1530 x737 --------------//---------> -----Original Message----- From: Dan G. Switzer, II [mailto:[EMAIL PROTECTED] Sent: Wednesday, November 23, 2005 8:06 AM To: CF-Talk Subject: RE: Prevent form submission if radio button and text field are not filled out Andy, You can do this very easily in qForms using a dependency: // this says if the "pay" field is equal to "personal_credit", than // the "trooptaxnumber" field is required objForm.trooptaxnumber.createDependencyTo("pay", "personal_credit"); You can see an example of this on this form: http://www.pengoworks.com/qforms/docs/examples/advanced.htm There's a lot of other code on the page, but the piece of code that actually ties the Favorite Sport "Other" option to requiring the text box is just this line: objForm.FavSportOther.createDependencyTo("FavSport", "Other"); More on qForms can be found at: http://www.pengoworks.com/qforms/ -Dan ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Discover CFTicket - The leading ColdFusion Help Desk and Trouble Ticket application http://www.houseoffusion.com/banners/view.cfm?bannerid=48 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:225068 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

