Hi Gary,
I'd use a regular html select rather than <cfform> and <cfselect>, change the form
method to "get" instead of "post", then add onclick="this.form.submit();" or
onclick="document.formname.submit();" in each select box. That will submit the form
and pass the fields in the url. Also change the name of the hidden recordid field to
studentid.
hth
> Hi,
> I have rather a complicated question. I am trying to
> implement a date
> function using three <cfselects>:
> selStudentEnrolmentDateDay,
> selStudentEnrolmentDateMonth and
> selStudentEnrolmentDateYear. I need
> to be able to reload the page when the user changes the
> value of
> either selStudentEnrolmentDateMonth or
> selStudentEnrolmentDateYear. It
> has to pass in the following url variables:
> studentID=a hidden value in the form called recordID
> inputMonth=the displayed value of
> selStudentEnrolmentDateMonth
> inputYear=the displayed value of
> selStudentEnrolmentDateYear
> So for example, if recordID=2, the month is 5, and the
> year is 1991, I
> want the following page to be loaded if the user changes
> selStudentEnrolmentDateYear to 1992:
> studentpersonaldetails.cfm?studentID=2&inputMonth=5&inputY
> ear=1992
> Something like
> javascript:window.open('studentpersonaldetails.cfm?
> studentID=2&inputMonth=5&inputYear=1992', 'main') would be
> great, but
> I don't know how to get the values into the url!
> Thanks very much,
> Gary
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> ~~~~~~~~~~~|
> Archives:
> http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
> Subscription: http://www.houseoffusion.com/cf_lists/index.
> cfm?method=subscribe&forumid=4
> FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
> Signup for the Fusion Authority news alert and keep up
> with the latest news in ColdFusion and related topics.
> http://www.fusionauthority.com/signup.cfm
> Unsubscribe: http://www.houseoffusion.com/cf_lists/uns
> ubscribe.cfm?user=633.558.4
s. isaac dealey 972-490-6624
new epoch http://www.turnkey.to
lead architect, tapestry cms http://products.turnkey.to
tapestry api is opensource http://www.turnkey.to/tapi
team macromedia volunteer http://www.macromedia.com/go/team
certified advanced coldfusion 5 developer
http://www.macromedia.com/v1/handlers/index.cfm?ID=21816
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription:
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Signup for the Fusion Authority news alert and keep up with the latest news in
ColdFusion and related topics.
http://www.fusionauthority.com/signup.cfm
Unsubscribe:
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4