DBR form set to Read Only..?

F

Frank Smith

I have a DB Update form that works fine.
The fields in the form have a format of <%=FP_FieldVal(fp_rs,"phone")%>

Is there a parameter that I can add that will set this field to Read Only?
I want the Users to be able to see the field but not Edit it.
 
F

Frank Smith

Ok, but I cannot seem to find any documentation on where.
The code line looks like

<input name="phone" size="50" value="<%=FP_FieldVal(fp_rs,"phone")%>"
style="float: left"></font></td>

Where does the "readonly" go?
 
T

Trevor L.

Frank said:
Ok, but I cannot seem to find any documentation on where.
The code line looks like

<input name="phone" size="50" value="<%=FP_FieldVal(fp_rs,"phone")%>"
style="float: left"></font></td>

Where does the "readonly" go?

Not an MVP, but I can answer that one

<input name="phone" size="50" value="<%=FP_FieldVal(fp_rs,"phone")%>"
style="float: left" readonly="readonly"></font></td>

or a shorthand is
<input name="phone" size="50" value="<%=FP_FieldVal(fp_rs,"phone")%>"
style="float: left" readonly></font></td>
 
F

Frank Smith

much appreciated.....
Not an MVP, but I can answer that one

<input name="phone" size="50" value="<%=FP_FieldVal(fp_rs,"phone")%>"
style="float: left" readonly="readonly"></font></td>

or a shorthand is
<input name="phone" size="50" value="<%=FP_FieldVal(fp_rs,"phone")%>"
style="float: left" readonly></font></td>
 
Top