Hi Folks,
I am having a problem trying to set a value in an empty combo box. Usually this box will get populated with a list of cities via java script by having the user select "Province/State" combo box on the web form. I have disabled JS for the time being as it gives me all kinds of exceptions as I want to set the correct values to this combo box directly using the form.setParameter("cityId", "New York");
I get this error
[java] Error Occured= May not set parameter 'cityId' to 'New York'. Value must b
e one of: { , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
, , , , , , , , , , , , , , , , , , , , }
Anyone know how to resolve this? with the cityId element being empty, the form will be not be processed on the database side. A good test, but not the one I am trying to design.
Thanks in advance.
Jason
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi Folks,
I am having a problem trying to set a value in an empty combo box. Usually this box will get populated with a list of cities via java script by having the user select "Province/State" combo box on the web form. I have disabled JS for the time being as it gives me all kinds of exceptions as I want to set the correct values to this combo box directly using the form.setParameter("cityId", "New York");
I get this error
[java] Error Occured= May not set parameter 'cityId' to 'New York'. Value must b
e one of: { , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
, , , , , , , , , , , , , , , , , , , , }
Anyone know how to resolve this? with the cityId element being empty, the form will be not be processed on the database side. A good test, but not the one I am trying to design.
Thanks in advance.
Jason