Skip to content Skip to sidebar Skip to footer

How Do I Get Selected Value From Drop Down Box In Perl CGI

I am populating the drop down menu from database. And when I submit the form I am getting empty string in selected option. Here's my code any help will be appreciated. I have selec

Solution 1:

You are missing name="client_name" in the select tag.

You probably ought to be escaping the client name in the value attribute (though for United Dynacare it isn't necessary). Using a library to generate your HTML (for instance, CGI) would have helped with both of these things.


Post a Comment for "How Do I Get Selected Value From Drop Down Box In Perl CGI"