Originally Posted by Redcoder
<input type='radio' name='radiol' value='blahblah'
<?php if(condition that checks whether 3rd page is viewed/displayed)
Is your solution above supported by *all* Browsers?
Let me back up, and explain a little more of what I'm trying to do...
So currently, I have 3 separate pages...
- Manage Friend-Requests (New)
- Manage Friend-Requests (Declined by Me)
- View Friend-Requests (Made by Me)
The first two pages are nearly identical, except a slightly different query and different labels.
The radio buttons on each of these pages needs to be Read/Write, because the logged in User that may either want to see (i.e. Read) what types of Friend-Requests he/she has, or the User may want to change (i.e. Write) one of the Friend Requests (e.g. Take an Incoming Friend-Request and Decline it, or take a Declined Friend-Request and make the person a Friend).
The 3rd page is also similar to the first two pages, except that it too has a different query, AND this page is for information purposes only, so it either needs to be DISABLED or made READ-ONLY, even though there won't be a "Submit" button.
On the 3rd page, the user would see one of three radio buttons checked (e.g. "Decide Later", "Accept" or "Decline") which denotes what the Member they sent a Friend-Request to decided to do. So, of course, there should be absolutely no way for the "Requestor" to modify the Form, or to hack things on the back-end to change values in the database, because it is the "Requestee" that is the one who makes the decision about the Friend-Request if you follow me?
So, what is the best way to accomplish what I am describing above?
Should I "Disable" the radio buttons on the 3rd page?
Or should I make them "read-only"?