Skip to main content
Journey Uncommon Logo
JourneyUncommon
hardHTMLsetFormValue setValiditySingle-choice MCQ

`setFormValue(value, state)` takes an optional second 'state' argument. What is its purpose relative to the first argument, and when is it surfaced back to the element?

internals.setFormValue('display-string', rawInternalState);