Hi all
I have sort of a <form> question for you.
On a form, I create several select lists dynamically from my database. In
order for just the data for that select to go over, I append a 1, 2, 3 etc
to the end of the name being passed. Eg: level1, level2, etc. Otherwise, it
just appends all the codes into the variable - the contents of label would
be Eg: ag,ar,co,etc
On the other side, when I do the get value, how can I know which one was
passed?
The code I have is :
plevel = get-value("level").
Of course, level is not the name, it is level 1, etc.
What I need to know is how to do code for get-value when I want to do a
BEGINS with:
plevel = get-value(BEGINS("level")).
and actually get something.
Can this even be done?
OR
Can someone point me in the right direction on how I should be doing it?
Regards,
Marsha J. Johnston
Systems Analyst/ Web Administrator
Learning Resources Distributing Centre
Alberta Learning
Ph: (780) 427-5322
Fax: (780) 422-9750
Email: mjohnston@edc.gov.ab.ca
Web: www.lrdc.edc.gov.ab.ca
I'm out of my mind, but feel free to leave a message.
I have sort of a <form> question for you.
On a form, I create several select lists dynamically from my database. In
order for just the data for that select to go over, I append a 1, 2, 3 etc
to the end of the name being passed. Eg: level1, level2, etc. Otherwise, it
just appends all the codes into the variable - the contents of label would
be Eg: ag,ar,co,etc
On the other side, when I do the get value, how can I know which one was
passed?
The code I have is :
plevel = get-value("level").
Of course, level is not the name, it is level 1, etc.
What I need to know is how to do code for get-value when I want to do a
BEGINS with:
plevel = get-value(BEGINS("level")).
and actually get something.
Can this even be done?
OR
Can someone point me in the right direction on how I should be doing it?
Regards,
Marsha J. Johnston
Systems Analyst/ Web Administrator
Learning Resources Distributing Centre
Alberta Learning
Ph: (780) 427-5322
Fax: (780) 422-9750
Email: mjohnston@edc.gov.ab.ca
Web: www.lrdc.edc.gov.ab.ca
I'm out of my mind, but feel free to leave a message.