Jump to content
cleanboy

Select Options as Title in Repeater

Recommended Posts

Hi guys and girls,

I have a repeater which shows and hides other fields depending on a select options I have created.

In the repeater you can set the label of each repeater item like so: Example: #n: {title}

I would like to use the value of the selected select options field I have but it is just returning its ID instead which isnt very useful...is there a way to do this?

Thanks

cleanboy.

Share this post


Link to post
Share on other sites

I haven't tried, but does: optionsfieldname.title or optionsfieldname.label work?

 

  • Thanks 1

Share this post


Link to post
Share on other sites

It does!

optionsfieldname.title is what worked.

I was trying that but like so: optionsfieldname|label which is obviously incorrect haha

Thanks!

  • Like 1

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...