Thanks Jeff, let me see if I got this: If I make the call to the PLUM header, I don't have to call the script at the top of the page.
Javascript is case sensitive right? I need to make my references to form fields with the same UppErLowerCase as they are on the page? In you example, there are two lines that start "objFormIssue.required"? Is the line that starts with // a comment? In your example, if the user does not fill in the ACSSID field, the pop up message would say "Aircraft Sub-System is required"? Thanks, Mark -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Jeff Fleitz Sent: Saturday, September 17, 2005 7:13 PM To: [email protected] Subject: Re: [plum] qforms validation Hey Mark, Just qForms like you would in a normal form if you weren't using Plum. Are you using the Plum header call on you form? If so the library is loaded for you. Then after all the closing </form> tag, include the JS to call qForms. Read up on the API if you are not familiar. This is some code I used in a form that used Nate Weiss' <cf_TwoSelectsRelated> tags within a DisplayAddForm tagset At the bottom of the page, after the closting tag (</cf_DisplayAddForm>), I just wrapped the calls inside a JS block like I would do if I weren't using Plum at all. You need to make sure you reference the form name for your page. ... </cfmodule> <!--- Closing DisplayAddForm tag ---> <!--- Add qForms validation for controls not called through Plum tags ---> <script type="text/javascript"> //objFormIssue.required("ACSystemID,ALSEID,ALSESSID,CBIPEID,CBIPESSID"); objFormIssue.required("ACSystemID,ACSSID,ALSEID,ALSESSID,CBIPEID,CBIPESSID") ; objFormIssue.ACSystemID.description = "Aircraft System"; objFormIssue.ACSSID.description = "Aircraft Sub-System"; objFormIssue.ALSEID.description = "ALSE"; objFormIssue.ALSESSID.description = "ALSE Sub-System"; objFormIssue.CBIPEID.description = "CB IPE"; objFormIssue.CBIPESSID.description = "CB IPE Sub-System"; </script> HTH, Jeff Mark Fuqua wrote: > On a page that doesn't use plum custom form tags, but is however, within the > plum framework, how do I use the qforms field validation? > > Thanks, > > Mark > > > > ********************************************************************** > You can subscribe to and unsubscribe from lists, and you can change > your subscriptions between normal and digest modes here: > > http://www.productivityenhancement.com/support/DiscussionListsForm.cfm > ********************************************************************** > > ********************************************************************** You can subscribe to and unsubscribe from lists, and you can change your subscriptions between normal and digest modes here: http://www.productivityenhancement.com/support/DiscussionListsForm.cfm ********************************************************************** ********************************************************************** You can subscribe to and unsubscribe from lists, and you can change your subscriptions between normal and digest modes here: http://www.productivityenhancement.com/support/DiscussionListsForm.cfm **********************************************************************
