Jump to content

This topic is 7777 days old. Please don't post here. Open a new topic instead.

Recommended Posts

Posted

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...

Posted

Don't put the text into form elements, just display their contents on the page with the [FMP-Field] tag.

Posted

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

This topic is 7777 days old. Please don't post here. Open a new topic instead.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.