Save button

This public forum is for user-to-user discussions of PHPMaker. Note that this is not support forum.
Post Reply
guido
User
Posts: 52

Save button

Post by guido »

At the beginning of a user's login there is indeed a text on the left "LOGIN" and a small text "Login" on the right. So far so good.
The corresponding record is displayed and after clicking on edit icon, fields can be filled in from a custom template.
That works well too, but we note that many users either forget to click on save button or even leave page by click of cross.
Also they do not see the small icon on the right to do a clean logoff.
Is it possible to have a Logoff text on editpage .
I also try to check the fields that have been filled in, for example if the same names appear in the same record.
Try without success Client script EditPage Form_CustomValidate,A small example can lead me in the right direction.
var $row=$(this).fields();
if($row["naam1t"].value() = $row["naam2t"].value()
return this.Onerror(" ");


mobhar
User
Posts: 11726

Post by mobhar »

guido wrote:
Is it possible to have a Logoff text on editpage .

It actually depends on which location you want to put that text/link. If you want to put at the top of Edit Page, use "Page_DataRendering" server event, and/or if you want to put it at the bottom of Edit Page, use "Page_DataRendered" server event. Please read "Server Events and Client Scripts" topic from PHPMaker Help menu for more info and example.


Post Reply