Automatically close form
Posted: 20 Apr 2017
Hi all,
I've a form with 3 groups. One group ("noAccess") represents users who don't have right to fill the form. As the link "new item" is on a public Intranet page, I can't simply hide this link.
My idea is to show an alert message to the user who click the "new item" link and who is member of the group "noAccess".
For this group, I set a blank form and in the javascript code I wrote :
Thanks for your help & regards,
Steve
I've a form with 3 groups. One group ("noAccess") represents users who don't have right to fill the form. As the link "new item" is on a public Intranet page, I can't simply hide this link.
My idea is to show an alert message to the user who click the "new item" link and who is member of the group "noAccess".
For this group, I set a blank form and in the javascript code I wrote :
Code: Select all
1. Alert("You are not allowed to fill this form.");
2. ??? --> How to close the form automatically ?
Steve