Skip to main content
Inspiring
October 11, 2006
Question

CF_ThreeSelectsRelated question

  • October 11, 2006
  • 2 replies
  • 577 views
Hello,

i am using Nate Weiss <CF_ThreeSelectsRelated> tag for three related select.

http://www.geocities.com/thanny/


In Edit form, i want to show pre selected values. i mean default values.

Tag is showing default value in first select. Not show second and third select. Why is it?. Is this way, this tag works?.
How can i show default values in second and third select?.


<CF_ThreeSelectsRelated
QUERY="selectAll_Q"
HTMLAFTER2="<BR>"
NAME1="frm_country"
NAME2="frm_state"
NAME3="frm_client"
VALUE1="country"
VALUE2="state"
VALUE3="client"
DISPLAY1="country"
DISPLAY2="state"
DISPLAY3="client"
EmptyText1="select country"
EmptyText2="select state"
Emptytext3="select client"
DEFAULT1="#selectEdit_Q.country#"
DEFAULT2="#selectEdit_Q.state#"
DEFAULT3="#selectEdit_Q.client#"
AUTOSELECTFIRST="No">

Thanks
    This topic has been closed for replies.

    2 replies

    Inspiring
    October 17, 2006
    Adomacro,

    I've used this tutorial from EasyCFM, http://tutorial196.easycfm.com/

    The js is a tiny bit off, but not hard to get straight. If you have any problems then post it here.
    AdomacroAuthor
    Inspiring
    October 17, 2006
    Thanks DataPacks.com

    I used QForms. I don't like using QForms again. Too much hassle to hangle QForms.

    CF_ThreeSelectsRelated is cute less coding is required.

    But not holding default values.
    Inspiring
    October 15, 2006
    I haven't used this one yet but it sure looks promising.
    http://www.pengoworks.com/qforms/docs/examples/n-related_selectboxes.htm

    It's a JavaScript solution which look like it should be exactly what you're
    looking for.

    Bill


    "Adomacro" <webforumsuser@macromedia.com> wrote in message
    news:egitv6$9ut$1@forums.macromedia.com...
    > Hello,
    >
    > i am using Nate Weiss <CF_ThreeSelectsRelated> tag for three related
    > select.
    >
    > http://www.geocities.com/thanny/
    >
    >
    > In Edit form, i want to show pre selected values. i mean default values.
    >
    > Tag is showing default value in first select. Not show second and third
    > select. Why is it?. Is this way, this tag works?.
    > How can i show default values in second and third select?.
    >
    >
    > <CF_ThreeSelectsRelated
    > QUERY="selectAll_Q"
    > HTMLAFTER2="<BR>"
    > NAME1="frm_country"
    > NAME2="frm_state"
    > NAME3="frm_client"
    > VALUE1="country"
    > VALUE2="state"
    > VALUE3="client"
    > DISPLAY1="country"
    > DISPLAY2="state"
    > DISPLAY3="client"
    > EmptyText1="select country"
    > EmptyText2="select state"
    > Emptytext3="select client"
    > DEFAULT1="#selectEdit_Q.country#"
    > DEFAULT2="#selectEdit_Q.state#"
    > DEFAULT3="#selectEdit_Q.client#"
    > AUTOSELECTFIRST="No">
    >
    > Thanks
    >