PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!
hi all
i want to build a form that user can fill information and suggest there domain name ans choses from a list of template within the form and after submit the form send me the info and take the to pay pal check out.
i know that i cannot submit photo in form but what im trying to say when the client select the photo in the number of template to chose from the form will submit the name or id of the selected template.i want to have like a photo gallery of the templates in the form. iv seen some site that have archive that using iframe i guess they must be pointing the iframe to another page where the have set up the gallery. but how you make the element of the iframe return the value in the current form since the are not in the same page lets say?
hope somebody can help out or give me a clue or alternative way of doing this please help.
There's probably a way to have an onclick event happen within the iframe that then communicates with the parent page and passes the values over so you can insert them into the form on the parent page.
Or you could set up your gallery on the same page as your form if you design it in a way that everything fits nicely.
If you have a huge gallery you might want to pull the gallery pages in 1 by 1 via XHR into your page to make it load faster.
thanks any suggestion is something 1 thing more that i haven think about.i have since this php galery script called PHP Photo Album script v2.11 witch display how much image you want and the other display on a next page mean another tab within the gallery so no need to use iframe or move away from parent page.but my only problem is how to assign each image with a hidden value so when the user click on and image it store the value and submit it at the end of my form?
ok ive got a jsp script that suppose to do the trick but when im submitting the form after selecting the image it does not return any value.here is the code i think there is something else missing to do the magic.