0

How do I check and save Server Side the value of the check element (so it saves the input when user clicks back) on these form elements instead of doing this? This is not working when I click "Back" button. The check item shows as checked but in reality the action is blank.

<label>
 <input type="radio" name="proptype" id="RESI" value="RESI" checked="checked" onClick="this.form.action='?frame=TEST&base=fc';" />
 Residential</label>
<label>
 <input type="radio" name="proptype" id="LOTL" value="LOTL" onClick="this.form.action='?frame=TEST1&base=fc';" />
 Land and Lots</label>
asked Oct 4, 2012 at 15:54

3 Answers 3

2

Hi you can use sessions to store on server side.. It is very easy to use: http://www.w3schools.com/php/php_sessions.asp

answered Oct 4, 2012 at 15:58
Sign up to request clarification or add additional context in comments.

Comments

0

The click back means for the browser that just to render the previous page - i.e. use the cache etc. If you do not say that the cache expires immediately then the server may not be contacted.

answered Oct 4, 2012 at 15:58

Comments

0

you may use $_SESSION or $_COOKIE

answered Oct 4, 2012 at 16:00

Comments

Your Answer

Draft saved
Draft discarded

Sign up or log in

Sign up using Google
Sign up using Email and Password

Post as a guest

Required, but never shown

Post as a guest

Required, but never shown

By clicking "Post Your Answer", you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.