I have created a Web Form that gathers information from Club Members re their Items For Sale. It works just fine and for those that want to place just one ad a time, perfect. However, I have been asked by several members to modify the process so that when submitting multiple ads at one time, second and subsequent forms could have many of the boxes already populated. Is there an easy way to achieve that? I am quite comfortable coding HTML with my fingers if that is a possibility. Any help or opinions would be appreciated. The form can be viewed at: http://bribiewoodcrafts.coffeecup.com/forms/For%20Sale/
Roy Molyneux
Auto Populate a Web Form - Post ID...
This can be handled but I would look at making your own formname.php then process the data. This way you would have a checkbox on the form for users to check if they will be adding multiple items. Your formname.php can then check for that value and process the data correctly. Your going to be looking at doing $_SESSION, and retaining the values for the form and displaying them back to the users based on the checkbox. Another option would be to try cookies. here you have the option of php or javascript. How each of these plays with the forms existing formname.php will have to be determined as the form uses $_SESSION to process the data and display the form results back to the user. You could find the unset($_SESSION['sessionname']); in the form data and remove it. I haven't played with that but it's probably there somewhere.You could probably even add a little code before that checking for the checkbox and unsetting the session based on that. Post back if you need some more direction or if I have confused you even more.
If I get a few minutes I'll try and find where form is unsetting the sessions at.


I can't hear what I'm looking at.
It's easy to overlook something you're not looking for.
This is a site I built for my work.(RSD)
http://esmansgreenhouse.com
This is a site I built for use in my job.(HTML Editor)
https://pestlogbook.com
This is my personal site used for testing and as an easy way to share photos.(RLM imported to RSD)
https://ericrohloff.com
It's easy to overlook something you're not looking for.
This is a site I built for my work.(RSD)
http://esmansgreenhouse.com
This is a site I built for use in my job.(HTML Editor)
https://pestlogbook.com
This is my personal site used for testing and as an easy way to share photos.(RLM imported to RSD)
https://ericrohloff.com
I would also suggest changing the form name and removing the spaces. Bad practice having spaces in form names. Some browsers choke on this and it may create problems down the road. Just sayin' . . .

Graphics for the web, email, blogs and more!
-------------------------------------
https://sadduck.com
-------------------------------------
https://sadduck.com
Have something to add? We’d love to hear it!
You must have an account to participate. Please Sign In Here, then join the conversation.