Explore the community Forums Lectora Lectora Questions & Answers Use variable in text for droplist Reply To: Use variable in text for droplist

#370749 Score: 0
Profile photo of Jason Dalrymple
Jason Dalrymple
Member
beginner
intermediate
profile
wise owl
curious george
contributor
friend finder
advanced
picture perfect
54 pts
@JasonADal

Edit: Is there a way to target just one drop down when there is more than one on the page? A quick google search suggests that I may need to add a class to the drop down to target it with jquery, but I’m not sure I grasp where/how to add the class in the RunJS or if more language is needed.

I think that will do it, actually – The goal was to have the option read “Text text text <variable value>” In my case, I’m setting a fixed date (assess_date) at the beginning of the course that needs to be added to the end of fixed text. I just fiddled a bit with the sample and think I have the gist enough that I’ll be able to implement.

Once again, thank you! BTW – did you get my email message?