Jump to content
View in the app

A better way to browse. Learn more.

FMForums.com

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

How to prevent user from modifying data?

Featured Replies

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

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

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

Important Information

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

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.