Hi, I’m trying to create a button that when pressed prompts the user to select yes or no, then if they say yes I want the formula to set 3 field values, one of which is based on another @Prompt, my code is below. The problem I’m having is that I am getting the secong prompt whether I select Yes or No on the first…
@Prompt([YESNO];“Close Claim”;“Do you wish to close this claim?”);@Do(@SetField(“HiddenStatus”;“1”);@SetField(“DateClosed”;@Today);@SetField(“Status1”;@Prompt([OkCancelCombo];“Approval”;“Accept or Reject”;“”;“Accepted”:“Rejected”)))
Any help greatly appreciated as i’ve been staring at this all morning and I don’t seem to be getting anywhere, thanks
I have now integrated the previous formula into the complete one that I wish to use, the only thing I cannot figure out now is how to get it to save the document after the final prompt aswell as at the end (last part of the If statement, here’s my formula, any help much appreciated:
@Command([ViewRefreshFields]);
@If(BillTo=“”;@Prompt([Ok];“Reminder”;“Customer To Bill To Empty”);