Skip to content

Instantly share code, notes, and snippets.

@cgillis-aras
Created November 6, 2017 15:16
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save cgillis-aras/bec98f5d0005e54192190a03845f4037 to your computer and use it in GitHub Desktop.
Save cgillis-aras/bec98f5d0005e54192190a03845f4037 to your computer and use it in GitHub Desktop.
// The field on the form is called "name". We are getting that value to return.
var usersName = getFieldByName("name").getElementsByTagName("input")[0].value;
result = top.aras.newObject();
result.usersName = usersName;
parent.dialogArguments.dialog.close(usersName);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment