Help please with prompt and mailsend

Hi all,

I am having trouble with my dialog box for my project.

Basically if the form is rejected, the user is prompted to enter reasons for rejection.

I have researched into the @dialogbox and have tried implementing this onto my form.

To do this, I have used a field (text, editable) called Rejection.

As part of a requirement it is essential that the user is emailed when a project is rejected. I will also need to include the information that was entered in the “Rejection” field into the body of the email (if poss?).

In my rejection button I have the following formula…

@If(@DialogBox(“form123”; [AutoVertFit] : [AutoHorzFit]; “Rejection Reason Required…”) = 0; @Return(“”);“”);@Command([EditDocument]; “”);@SetField(“Status”; “Rejected”);@Command([FileSave]); @MailSend(“Stabilo Genuis/IT/Company”; “”; “”; “NEW IT Request: Status: - Rejected”; “This e-mail is for FYI purposes only.” + @NewLine + @NewLine + “The IT Request project has been rejected by the following reason: " + ReasonForReject;”";[IncludeDoclink]);

@Command([FileSave]);

@Command([FileCloseWindow])

I dont have a lot of knowledge when it comes to using lotus notes and so any examples, step by step instructions or tips would greatly appreciated.

Thank you loads

Subject: Help please with prompt and mailsend

Its ok…Ive figured it out…