I have a PHP script that requires input from the user for a variable. The PHP script is a simple image uploader that I use in a custom CMS setup. Usually the script is accessed through a form on the CMS home page. The user selects the number of images to upload from a drop-down menu.
I would also like to have a link to this page in the navigation menu, so the user can jump straight to this page without going back to the home page first (where the form is). So I'd like to figure out a way for the user to input the number of images when they click on the link. Maybe something on the order of a little popup box that asks for the number of images, or has the form in it to select the number of images.
Does anyone have any ideas for the most elegant way to do this? Maybe with Ajax? I thought of doing a modal box, like Greybox, with the form in it, but I am not sure how to make the modal box close and then go to the correct page. Another idea would be a div that is visible onclick and has the form in it.
Thank You!