form.io datasource’s “Trigger on Form init” feature using vanilla js
While working on pdf forms on formio portal. While exploring, I came across the data source component and found out an interesting feature – Trigger on form init
.
A crucial usecase of this trigger is – When form.io pdf form loads in edit mode, form.io’s framework handles pre-population of submitted data. And the js written in the data-source component gets executed after data pre-populations is finished.