{ Frameless }

Sync form elements with your data using data-ref="…"


The data-ref attribute is used for form elements, to link the input, select or textarea element to any other element selected by the XPath query.

If the value of the input element changes, the value of the selected element is automatically updated. If the value of the linked element changes in some way, the value of the input element changes too

<input data-ref="$user/name"></input>

If the XPath query returns a h1 element, the two are connected and the values will update eachother.

Have more questions? Submit a request


Powered by Zendesk