Leb i Sol Posted April 1, 2003 Posted April 1, 2003 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
Anatoli Posted April 1, 2003 Posted April 1, 2003 Try it 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?
Leb i Sol Posted April 1, 2003 Author Posted April 1, 2003 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? I know is sounds.... thank you very much
Leb i Sol Posted April 1, 2003 Author Posted April 1, 2003 ..or is this something that most people avoid doing?
Anatoli Posted April 1, 2003 Posted April 1, 2003 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.
Leb i Sol Posted April 1, 2003 Author Posted April 1, 2003 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". Now, "flag" concept is what created a little yellow light bulb above my head..... ...can you shine some light on it? thank you sir
Leb i Sol Posted April 1, 2003 Author Posted April 1, 2003 [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....
Anatoli Posted April 1, 2003 Posted April 1, 2003 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.
Leb i Sol Posted April 1, 2003 Author Posted April 1, 2003 "but to display something what doesn't exist is wrong all the time" 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 "Flag" ha! you know...I never thought of that...now I whish I could go back to some projects and use it 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 man, where were you 2 months ago! thank you for the posts
Leb i Sol Posted April 1, 2003 Author Posted April 1, 2003 ooooh man I could have bought you a FEW beers and have you do it for me ... LOL
Unable Posted April 2, 2003 Posted April 2, 2003 "here in LA till end of April" - Anatoli Hey Leb, today is April 1. "ooooh man I could have" - Leb April Fools!
Leb i Sol Posted April 2, 2003 Author Posted April 2, 2003 heheheheh that's ok......more beer for me what is on April 1st?
Unable Posted April 2, 2003 Posted April 2, 2003 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.
Recommended Posts
This topic is 7898 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 accountSign in
Already have an account? Sign in here.
Sign In Now