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.

[FMP-LinkRecID: ..... Error=?????]

Featured Replies

Hello People!

I was wondering if this/error capture is possible with a link:

  

<a href="[FMP-LinkRecID: format=Details_page.html, layout=mylayout, error=Error_page.html]">DETAILS</a>

and what the Error # would be?

thank you all

grin.gif

Try it smile.gif

In any case, you are in list of records and you want to display single record detail. That record must exist, otherwise it wouldn't be in list.

Question: why do you expect errors?

  • Author

Hello Anatoli!

I have tryed it and no cigar!

The reason I expect the errror is because this page confirms the Update of record as well as the Deletion of the same.

It works fine when I do the Update and it just shows/links me the page that shows changes I mage; but what I would like to do is utilize the same page that, instead of going to details, would reflect the fact that the record was Deleted!

I hope I am expplaining myslef right. It would look like this:

-----RecordDetail(edit).html-------

<input type="hidden" name="-format" value="Confirm.html">

field

field

field

field

.........[uPDATE]..[DELETE].......

------------------------------

both Update and Delete will go to Confirm.html on which I have:

<a href="[FMP-LinkRecID: format=Details_page.html, layout=mylayout, error=Error_page.html]">TO SEE THE CHANGES YOU MADE CLICK ON ME</a>

and as I said this will show me the details if I do the Update.... but error_page would be used to capture the "error" when I try to see the details of the record that no longer exist(deleted)

...are you with me? laugh.gif I know is sounds....

thank you very much

  • Author

..or is this something that most people avoid doing?

Hmm, it will be confusing to user and I am also confused.

It is design fault to display list of records which do not exist.

You can display that after update. But after delete generate new list without the deleted record(s).

For security reasons you should avoid deleting records by web users.

It that's possible, only "flag" record for deletion.

  • Author

well...each project flows in diff. direction and I like to have all my tools from as less views as possible.

I hate to have "and go to this page to Edit and then go to this page to Delete and then go Here to see the list add...etc."

but ...you know what if users don't have enough sense to realize that deleted record is no longer there - then I have been wasting my time with them from the begining.

I was just curious if the command would work and what the error code would be to "a record no longer exisit". laugh.gif

Now, "flag" concept is what created a little yellow light bulb above my head.....

...can you shine some light on it?

thank you sir

  • Author

[by the way...they can only delete the ones they create(thier token-their record)...I don't really want "to hold their hands" if they make an entry mistake ...they can del. themsleves]

....now "FLAG" thing means that there is a feature of FM I don't know about oooooorrrr.... laugh.gif

I do not object to page with more functions, that is fine, but to display something what doesn't exist is wrong all the time. After delete you should refresh the list with records.

I am calling "flag" something like On/Off switch. If the record is "flagged" for deletion, it will be later deleted as maintenance work. On web you can display that record with remark "Deleted" or not display at all.

That will be just additional security against web hackers.

  • Author

"but to display something what doesn't exist is wrong all the time" laugh.gif

well I just want an error page that will say "Its GONE" I am not trying to "display" non-exisitng record....agh who cares forget the topic smile.gif

"Flag" ha!

you know...I never thought of that...now I whish I could go back to some projects and use it laugh.giflaugh.gif

Unfortunately, I can't use it in this project since the record has to be deleted immediatly ( generating reports by the end of the day) and also... I would have to re-design about 30-40 htmls....and deadline....is near smile.gif

man, where were you 2 months ago! smile.gif

thank you for the posts

smile.gif here in LA till end of April smile.gif
  • Author

ooooh man I could have bought you a FEW beers and have you do it for me ... smile.gif LOL

"here in LA till end of April" - Anatoli

Hey Leb, today is April 1.

"ooooh man I could have" - Leb

April Fools!

  • Author

heheheheh that's ok......more beer for me

what is on April 1st? tongue.gif

You better check your calculation.

End of April - [FMP-currentdate] = Anatoli is still in LA

- so if you are in LA (or maybe somewhere between LA and Prague), you possibly could buy Anatoli that beer. Talk to him.

What is on April 1st? - It is commonly referred to as either All Fools' Day, the Day of Saint Stupid, or April Fools' Day. It is a day upon which practical jokes are played on the unsuspecting, misleading news stories are likely to appear, and good-humored activities prevail - in spite of the impeding tragedies of day-to-day living.

It is quite appropriate to your offer.

Have a great weekend.

LOL I am available for any good beer smile.gif

  • Author

smile.gif...ur more than Able to me!

happy 1st

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.