Skip to main content
Inspiring
August 16, 2013
Answered

CF_TwoSelectsRelated Default Value

  • August 16, 2013
  • 1 reply
  • 1169 views

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 has been closed for replies.
    Correct answer Robin James

    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.

    1 reply

    vishu_13
    Inspiring
    August 16, 2013

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

    If yes, then remove it

    Thanks

    VJ

    Inspiring
    August 16, 2013

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

    Robin JamesAuthorCorrect answer
    Inspiring
    August 21, 2013

    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.