Page 1 of 1

Implementation of sync.api.Dialog

Posted: Thu Jun 28, 2018 11:08 pm
by hatchjk
Please forgive the simple question ... does the Javascript API for Web Author (20.x) provide for retrieving user input data (primarily multi-field text input) from an implementation of sync.api.Dialog, either through use of JQuery or otherwise? If so, could you point me to some documentation?

Re: Implementation of sync.api.Dialog

Posted: Fri Jun 29, 2018 12:25 pm
by mihaela
Hi,

There is no API method to automatically retrieve the input data from the dialog.
What you can do is to use the getElement() method from sync.api.Dialog to obtain the HTML dialog element and then iterate through its content elements to retrieve the user data.

Best Regards,
Mihaela