macman90 Posted March 15, 2010 Share Posted March 15, 2010 In my last post I asked for help building a form that would compare input against whatever and then return a result based on whether or not it matched. I have that all up and running, thanks for the help! Now I need to set it so that once the submit button is pressed, only the information returned is displayed, the text boxes for name and email need to go away. I don't want to use forwarding to do this, I want to keep it all in one page. I haven't had much luck looking around the web so I hope you guys can help me out again! Link to comment https://forums.phpfreaks.com/topic/195368-hide-text-fields-after-input-button-is-clicked/ Share on other sites More sharing options...
schilly Posted March 15, 2010 Share Posted March 15, 2010 can you post your code? basically set a success variable when you process your post data. now when you get to your html output, check that success value. if it's true, show a success message and if it's false show the form again. Link to comment https://forums.phpfreaks.com/topic/195368-hide-text-fields-after-input-button-is-clicked/#findComment-1026692 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.