setFieldValues( )


Sets Wix Form field values.
Setting the invalid field values fires the onFieldValuesChange() callback. The callback returns fields with the valid values previously set.

Method Declaration
Copy
Method Parameters
formValuesFormValuesRequired

An object containing information about field names and values of a form.

Errors

This method doesn’t return any custom errors, but may return standard errors. Learn more about standard Wix errors.

Did this help?