Post, Clear Form, Process Data and Repopulate Form

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!

Moderator: General Moderators

Post Reply
zunebuggy
Forum Commoner
Posts: 41
Joined: Wed Aug 27, 2008 1:22 pm

Post, Clear Form, Process Data and Repopulate Form

Post by zunebuggy »

I have a form. On submit my ALL server side php script processes the form data and changes it. After it changes it I would like it to repopulate the original form again with the changed data without having to rewrite the page. Is this possible?
Thank you.
User avatar
jackpf
DevNet Resident
Posts: 2119
Joined: Sun Feb 15, 2009 7:22 pm
Location: Ipswich, UK

Re: Post, Clear Form, Process Data and Repopulate Form

Post by jackpf »

Yes. Use AJAX to send the request, and fill the inputs with whatever data is sent back.
Post Reply