Using a single page survey.
Would like for onComplete to do the following:
- Show completed survey (rendered with data user entered) ?maybe on #surveyResult? … can't get to work even with several examples I found online
- validate survey as normal
- no complete button after onComplete
- Show some text instructions…currently seems to work with
- document.querySelector('#surveyResult')
- document.write('blah blah')
- document.write('blah blah')
- document.write('blah blah')
- Show JSON of results…currently seems to work with
- document.querySelector('#surveyResult')
- document.write(JSON.stringify(result.data));
probably just confused on something. Currently I either don't see survey render and just text below OR nothing at all renders
Thanks.
sorry, wasn't sure what category to put this under. Might be bug since i did use clear(false,true), but may just be misuse.