Hello developers!
I’m new so bare with me please if this is something so simple.
This is what I have done so far.
If a customer makes a request, an email is sent to a member of staff who opens the link and an action button is un-hidden allowing the staff to open another form. The staff will then fill out this form and hit the save button…
I want something like a popup dialog box asking my staff if they would like to accept responsability of a project request when they hit the save button.
From there, if a member of my staff click yes then I would like to change the status field that I have on my form from Submitted to Approved. If they select no then change the status to Rejected.
Is this possible? If it is then how do I do this?
Thank you
Subject: Popup Dialog Help?
Another approach is to just put your question and code in the save button.
Put in an @prompt with your question about accepting responsibility as a temporary variable. The person will be forced to answer to give an answer.
Then place in an @if statement referring to your temp variable. If yes then then do, otherwise do that.
Below is some code I have in one of my buttons to just ask if they really want to continue.
If the answer is No or ask = 0 then the code stops completely and nothing is done, otherwise it allows the rest of my code (not provided) to run.
ask := @Prompt([YesNo];“WARNING”;“Are you sure that you want to change this code?” +@NewLine + “Changing this code will result in clearing of Manufacturer’s information” );
@If(ask = 0;@Return(“”);“”);
Look in the lotus notes help files and you will be able to find the uses for each of these items there.
HTH
Teri
Subject: Popup Dialog Help?
How about adding a radio button field that must be selected before saving the document. They must approve or Reject the submitted request.
The save button should call a function that saves the form only after the error checking has been completed. You can use javascript to validate form comtents. i.e email address in right format, phone numbers include area code and enough characters, radio buttons checked, etc.