Skip to content

Instantly share code, notes, and snippets.

@cgillis-aras
Created November 6, 2017 14:47
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/1bd73a9be05c6328552da1bcd2958c4d to your computer and use it in GitHub Desktop.
Save cgillis-aras/1bd73a9be05c6328552da1bcd2958c4d 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.args.dialog.result = result;
parent.args.dialog.close();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment