Morning,
Within my little time sheet application I am wanting to display notifications to the users on the first screen after they have logged in.
I have added a run object on the first Launch screen that displays an iFrame containing the form listing all the notifications, this works fine.
The issue comes when you want to view the notifications
I don't want users to edit them so how do i get it to either show the edit form which expands the text in a textarea or have some form of pop out with the message.
Any help would be appreciate.
Welcome to the nuBuilder Forums!
Register and log in to access exclusive forums and content available only to registered users.
Register and log in to access exclusive forums and content available only to registered users.
User notices popup
-
- Posts: 7
- Joined: Mon Jul 13, 2020 4:23 pm
User notices popup
You do not have the required permissions to view the files attached to this post.
-
- nuBuilder Team
- Posts: 4307
- Joined: Sun Oct 14, 2018 6:43 pm
- Has thanked: 71 times
- Been thanked: 448 times
- Contact:
Re: User notices popup
Hi,
Adding this code to the embedded form will prevent the user from opening the record in the edit screen.
But you could also redirect the user to another form that shows just one textarea containing the notifacation.
So you would have to create a simple new form with one textarea. Then replace form_id in the code below with the newly created Form Id.
Hope that helps...
Adding this code to the embedded form will prevent the user from opening the record in the edit screen.
Code: Select all
function nuSelectBrowse(e) {
// do nothing
}
So you would have to create a simple new form with one textarea. Then replace form_id in the code below with the newly created Form Id.
Code: Select all
function nuSelectBrowse(e) {
var pk = $('#' + e.target.id).attr('data-nu-primary-key');
if (pk !== undefined) {
nuForm('form_id', pk, '', '', 1);
}
return false;
}
-
- nuBuilder Team
- Posts: 4307
- Joined: Sun Oct 14, 2018 6:43 pm
- Has thanked: 71 times
- Been thanked: 448 times
- Contact: