clear action

Clears all user data from the form, even tinyMCE.

Usage

const formRenderOptions = {
  formData: '[{"type":"text","label":"Text Field","name":"text-1526099104236","subtype":"text"}]';
}
const formRenderInstance = $('#render-container').formRender(formRenderOptions);
const html = formRenderInstance('html'); // HTML DOM nodes
const htmlString = html.outerHTML;
// User enters data
formRenderInstance('clear');
// User entered data is cleared