Jump to content

Keeping values already selected


huadba

Recommended Posts

I am a bit of a newby here, so thanks in advance for your patience.

 

I have a form with multiple drop down boxes.  The content of these boxes are driven from different tables.  Users can then select options and update a master profile.  The values selected are POSTED to this master profile.  Once in a great while a user doesn't find a selection on one of the secondary tables meeting their needs in the drop down box and they add a value to one of these secondary tables.  I set up a hyperlink to a secondary page to insert a value in the the secondary table.  Once the new value is inserted the user is then directed back to the master page to complete the update process. 

 

The problem is if a user has already selected a number of options and then directed away, they lose all of the information they have already selected.  Is there a good way to "keep" the information already selected? 

 

I do not want the user to have to input information again if they are asked to navigate away to add to a secondary table.

 

Thanks,

Link to comment
Share on other sites

If you open a pop-up window, you can handle things there, and then just close that window.  Another option is to use ajax to handle everything for the secondary table.  In both cases you can use javascript to update the master page if necessary.

Link to comment
Share on other sites

I personally dislike java applets because I think they are slow and hog resources. Also, although most computers have the JVM installed, some don't, while all modern browsers (IE, Chrome, FF, Opera, etc.) have Javascript. The downside to AJAX though is that Javascript can be turned off. I personally would go with AJAX, but if you are more comfortable with java go with that

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.