List Info

Thread: TwoSelectsRelated custom tag question




TwoSelectsRelated custom tag question
user name
2006-11-08 19:25:38
Hi everyone,
I am trying to use the custom tag, TwoSelectsRelated.  It
works
perfectly until someone submit the form and needs to go back
and fix
something, the first field will stay as whatever got
selected before
but the second one will be blank?! Unless I refresh the page
or select
something else from the first drop down, it will repopulate
the second
list again.

Here's the code I used:

 <cfmodule
template="customtags/TwoSelectsRelated.cfm"
    		Name1="MailSubProv"
    		Name2="MailSubCity"
    		Query="ProvCity"
    		Value1="ProvinceID"
    		Value2="cityID"
    		Display1="ProvinceName"
    		Display2="cityName"
		FORCEWIDTH1="30"
		FORCEWIDTH2="10"
		SIZE1="1"
		SIZE2="1"
		AUTOSELECTFIRST="Yes"
		EMPTYTEXT1="-- Choose Province --"
		EMPTYTEXT2="-- Choose City --"
		MESSAGE1="Please choose a Province"
		MESSAGE2="Please choose a City"
		FormName = "form1">	

Am I missing something?  Thanks in advance!!


--~--~---------~--~----~------------~-------~--~----~
 You received this message because you are subscribed to the
Google Groups "ColdFusion" group.
To post to this group, send email to ColdFusiongooglegroups.com
To unsubscribe from this group, send email to
ColdFusion-unsubscribegooglegroups.com
For more options, visit this group at http:/
/groups-beta.google.com/group/ColdFusion
-~----------~----~----~----~------~----~------~--~---

TwoSelectsRelated custom tag question
user name
2006-11-08 20:30:58
HA, I actually just figured it out myself.  All I need is to
set
AutoSelectFirst to "no" in my case.


--~--~---------~--~----~------------~-------~--~----~
 You received this message because you are subscribed to the
Google Groups "ColdFusion" group.
To post to this group, send email to ColdFusiongooglegroups.com
To unsubscribe from this group, send email to
ColdFusion-unsubscribegooglegroups.com
For more options, visit this group at http:/
/groups-beta.google.com/group/ColdFusion
-~----------~----~----~----~------~----~------~--~---

[1-2]

about | contact  Other archives ( Real Estate discussion Medical topics )