Skip to main content
Inspiring
Aug 16, 2013 6:42 PM UTC
Answered

CF_TwoSelectsRelated Default Value

How do I have a default value pre-selected using cf_twoselectsrelated?

I'm using the default fields, but nothing is selected when the page loads.

Thanks for any guidance.

    This topic is closed to new replies. Start a new post to keep the conversation going.
    Robin JamesCorrect answer
    Inspiring
    Aug 21, 2013 2:11 AM UTC

    Thank you for the tip.  I commented out this line rather than attributes.field1:  <CFIF Attributes.EmptyText1 is "">

    I also used emptytext1 rather than default1.

    5 replies

    vishu_13
    Inspiring
    Aug 16, 2013 7:10 PM UTC

    Are you are using <CFIF Attributes.Field1 is " ">?

    If yes, then remove it

    Thanks

    VJ

    Translate
    Inspiring
    Aug 16, 2013 7:18 PM UTC

    I don't think so.  Where would that be?

    Translate
    Robin JamesAuthorCorrect answer
    Inspiring
    Aug 21, 2013 2:11 AM UTC

    Thank you for the tip.  I commented out this line rather than attributes.field1:  <CFIF Attributes.EmptyText1 is "">

    I also used emptytext1 rather than default1.

    Translate