/    Sign up×
Community /Pin to ProfileBookmark

i am using 6 form pages that are included into one template one page at a time and all the information is stored in a session. i was wondering if anyone knew how i could validate the information one form at a time and if after the user pressed next could redisplay the form with the invalid data removed and the valid data contained in the form fields. I understand that

<?php echo “$variable”?> will display the value and i can set the $variable = “”;

if it does not pass the test but how do i get the same form to redisplay? any help is greatly appreciated.

to post a comment
PHP

3 Comments(s)

Copy linkTweet thisAlerts:
@NightShift58Jan 05.2007 — I'm confused now. Isn't this the same question - more or less - as in

http://www.webdeveloper.com/forum/showthread.php?t=133762
Copy linkTweet thisAlerts:
@NickG21authorJan 05.2007 — yes it is, i tried to close that other post because nobody was reading it or anything, didn't mean to make you jump around i have to stop doing that
Copy linkTweet thisAlerts:
@NightShift58Jan 05.2007 — You're too quick... Even typing the code without thinking would've taken me longer than the time you're allowing... ?
×

Success!

Help @NickG21 spread the word by sharing this article on Twitter...

Tweet This
Sign in
Forgot password?
Sign in with TwitchSign in with GithubCreate Account
about: ({
version: 0.1.9 BETA 6.17,
whats_new: community page,
up_next: more Davinci•003 tasks,
coming_soon: events calendar,
social: @webDeveloperHQ
});

legal: ({
terms: of use,
privacy: policy
});
changelog: (
version: 0.1.9,
notes: added community page

version: 0.1.8,
notes: added Davinci•003

version: 0.1.7,
notes: upvote answers to bounties

version: 0.1.6,
notes: article editor refresh
)...
recent_tips: (
tipper: @nearjob,
tipped: article
amount: 1000 SATS,

tipper: @meenaratha,
tipped: article
amount: 1000 SATS,

tipper: @meenaratha,
tipped: article
amount: 1000 SATS,
)...