Dynamic Form
hi there,
this tutorial is great! i was just wondering if anyone has implemented this tag using dynamic forms eg. a record is to be edited so the options need to be already populated?
Posted by: Mike
Posted on: 10/27/2004 05:33 PM
|
upload selections to database
After making selections on http://www.childcareseekers.com/tag/myactionpage.cfm, upon submit how would you get these selections into a new row in a Access Database table, with http://www.childcareseekers.com/tag/myactionpage.cfm then presenting an acknowledgement such as "Thank you for your input"
I have obtained a similar dependent drop down list script from this site, and I want the selections to upload into a new row in my database table... problem - it only inserts a row, a blank row with no data. Hoping to figure out a solution.
Posted by: new visitor
Posted on: 12/07/2004 08:31 AM
|
same table query
How would this be done with just one table instead of two? For example, for the first listbox: SELECT DISTINCT CountryName FROM tblCountry ORDER BY CoundtryName ASC
then, for the second listbox: SELECT State FROM tblCountry WHERE CountryName = [result form first query] ORDER BY State ASC
Posted by: john
Posted on: 02/08/2006 06:04 PM
|
Third dropdown.
Here is what i need; I have a page where user will select a Category which is the main select list and there are 2 different tables, one having Types according to the Category_ID and the other table having Frequency according to the Category_ID. So user will just select the Category and then the Types and Frequency dropdown will be filled up according to the selected category.
I did try with your code it works fine to populate one related dropdown, but now i am stuck how 2 dropdowns will be populated.
Posted by: Zahid
Posted on: 02/09/2006 02:52 PM
|
Thanks a lot you helped me immensely
Just wanted to say thank you for taking the time to post an excellent tutorial. I am glad to took the other static tutorial and made it dynamic. This is perfect for a business directory that I have been burdened to develop for my work.
I look forward to trying it out.
Posted by: Drew
Posted on: 02/14/2006 10:35 AM
|
How about in ColdFusion 4.0.
Hi, That works great but my friend having 4.0 version which seems to be very old and I couldn't help him. Can anyone help me how this code will work on his 4.0 version because there isn't any ListValueCount() function, and he is getting error at that line?
Please.
Posted by: Zahid
Posted on: 02/20/2006 10:07 PM
|
How about updating select checkboxes based on list item selected?
This is great code! Could I adapt this technique to allow me to populate a list with users and then have a number of checkboxes that would check or uncheck based on which user I selected in the list?
Posted by: Steve Evans
Posted on: 07/26/2006 06:38 PM
|
Works in IE, but not in Firefox or Safari
Has anyone else had this code for dynamic multiple selects work only in IE? Works like a charm in IE but in other browsers, the second select just sits there blank .. any suggestions would be most helpful.
Posted by: Suzanne
Posted on: 10/03/2006 04:52 PM
|
not display if push back or forward
hai.. if i push button back at navigator second state not display.. how i want to display data if i want to back or forward
i hope someone can give a solution.. thank
Posted by: iris
Posted on: 11/11/2006 01:38 PM
|
add a static entry
Im trying to append a static selection at the beginning of this line...
obj.selectLocal.options[#idx#].value="#getLocal.location_id#" obj.selectLocal.options[#idx#].text="#getLocal.State#"</cfoutput>
...any suggestions ?
Posted by: matt
Posted on: 11/27/2006 07:53 PM
|