October 16, 200322 yr I have a format file as below to submit data but I want the user to be able to view it but not actually change any of the data before an edit of the record. Any thoughts. <FORM ACTION="FMPro" METHOD="POST"> <INPUT TYPE="hidden" NAME="-DB" VALUE="Time_Cards.fp5"> <INPUT TYPE="hidden" NAME="-Format" VALUE="replyout.htm"> <INPUT TYPE="hidden" NAME="-Error" VALUE="error.htm"> <INPUT TYPE="hidden" NAME="-RecID" VALUE="[FMP-CurrentRecID]"> <CENTER> <P><B>Employee Number:</B> <INPUT TYPE=TEXT name=EmployeeNumber VALUE="[FMP-Field: EmployeeNumber]" SIZE=5> <P><B>Employee Password:</B> <INPUT TYPE=text NAME=EmployeePassword VALUE="[FMP-Field: EmployeePassword]" SIZE=5> <P> <B>Time In:</B> <INPUT TYPE=text NAME=Time_In VALUE="[FMP-Field: Time_In]" SIZE=10> <b> </b> <P><B>Time Out:</B> <INPUT TYPE=text NAME=Time_Out VALUE="[FMP-CurrentTime]" SIZE=10> <P><B>Date of Work:</B> <INPUT TYPE=text NAME=Date_of_Work VALUE="[FMP-CurrentDate]" SIZE=10> <P> <CENTER> <INPUT TYPE="submit" NAME="-Edit" VALUE="Clock Out"> Thanks...
October 16, 200322 yr Don't put the text into form elements, just display their contents on the page with the [FMP-Field] tag.
October 18, 200322 yr Hi, there! I guess the whole thing centers around the Time_Out field, eh? I suggest you do as Vaughan suggests and use <INPUT TYPE="hidden" NAME="Time_Out" VALUE="[FMP-CurrentTime]"> to actually change the value of the field for the -edit. Hope this helps! --ST
Create an account or sign in to comment