I have a form which has a drop down box, a input text box, and a submit
button. The user selects a category from the dropdown box and types in
a entry for that category in the text box. Upon submission it adds that
name to the database. I have gotten this to work, but I want more
functionality :) One of the options in the drop down box is "Partner."
The user would then type the partner name in and then press submit.
Upon submission it executes the same page as all the other categories.
This page then checks what entry they selected. What I need it to do is
pass the name entered in the text box to another screen. So here's some
meta-code to help this make sense:
//Servlet executed upon submission of the two fields: selectbox and
name.
ParamterParser pp
pp.getString("selection", selection)
pp.getString("name", name)
if selectbox.equals("Partner")
ScreenLoader.getInstance().eval(data, "Partner")
//I want to pass the "name" field to this screen!
else
do stuff for the other selections selections.
I hope this makes sense to someone! I am quite open to better ways to
do this! If there is not a method to do this already perhaps I should
write one for the ScreenLoader object? Comments?
Thanks,
Dan Diephouse
------------------------------------------------------------
To subscribe: [EMAIL PROTECTED]
To unsubscribe: [EMAIL PROTECTED]
Problems?: [EMAIL PROTECTED]