View Complete Thread | FoxWeb Forum Home
Date:    Msg ID:   
From:    Thread:   
My original idea was to have the text input boxes display dimmed text when the form was in 'read-only' mode, then upon pressing an 'Edit' submit button, the form will refresh, but those fields which are editable would be in normal black text.  I am looking for an easy way of doing this without having to manually disable each textbox.

What is the idea behind having the infomation repeated as hidden variables?

Many thanks,

It sounds to me like you should display the values as regular text and also include them as hidden variables:

<input type="hidden" name="fname" value="<%=fname%>">
<input type="hidden" name="fname" value="<%=lname%>">
First Name=<%=fname%><br>
Last Name=<%=lname%><br>
<input type="submit" value="Continue">