Link to home
Avatar of Melodi Roberts
Melodi RobertsFlag for United States of America

asked on

htp.formselectoption single description and multiple values

I need to store valid degree codes, major codes and concentration codes separately, while displaying the descriptions for these in a form list of values all concatenated together.

Is there a way to display a single description (value) , but store in more than one form element (name)?

I can store the degree, major and concentration codes as one value and then parse out the codes from this; however, it seems there should be an easier way.  Perhaps there is some way that I can use javascript on the form.selectoption??

Thanks for any tips.
Avatar of Robert Schutt
Robert Schutt
Flag of Netherlands image

Blurred text
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
Avatar of Melodi Roberts


Thank you for your feedback. I have not had time to get back to this code as I am working on another project.  I am sure that this will help so will accept this as an answer and close it out. Thanks so much.
Thank you so much. I am learning so much with the example you posted.
Glad to help. Please do return here to post your findings when you have checked it out because there is a chance other people find this solution when struggling with a similar problem and if it didn't help you it could be important for them to know why/how. I will keep monitoring so a follow-up question is possible.