Hi all,
I’m encountering a problem with my status field. Basically I have a field on my form Called “Status” which is computed. I have included this field on 2 other forms too.
On the first form, I have the following formula inserted to the “Status” field…
@If(@IsNewDoc=1; “Composing”; Status)
Then when the user clicks on the “Save and Send” button, an email will be sent to an admin person who will then be able to view the document by following on the link.
Ideally, as the user clicks on the “Save and Send” button, I would like the satus field to change from “Composing” to “Submitted”.
I have tried many things, and have also used some examples from a few very nice people who have suggested some idea’s but unfortunately when I click on the link in the email…the status field still says “Composing”.
The code in my Save and Send button is as follows: -
@SetField(“Status”; “Submitted”);
@Command([FileSave]); @MailSend(“Admin/IT/blah”; “Admin1/IT/blah”; “”; “NEW IT Request Form”; “This e-mail is for FYI purposes only.” + @NewLine + @NewLine + “Attached is a link with a copy of a request from the following person: " + @UserName;”";[IncludeDoclink]);
@Command([FileSave]);
@Command([FileCloseWindow])
If anyone could resolve this problem I would be ever so grateful! Im still currently researching into the problem myself and will try out new ideas just so I can fix this and progress further on my project.