Responsive forms & Javascript

オフライン

Hi all,

I'm creating a responsive form in Innovator Release 30 and want to use a client method (Javascript) to fill in some fields.  With classic forms, I could use the getFieldByName method to reference the element on the form, but this doesn't seem to work with responsive forms.  I'm getting this error:

aras_object: "undefined" : "undefined"

Does anyone know how to get and set field values in Javascript for responsive forms?

Thanks,

Rob

Parents
  • Hi Rob,

    Responsive forms currently don't support Javascript methods for field or form events. Instead, the goal is to use rules and data store events for custom logic rather than events tied to DOM elements in the form. This approach will help provide a more consistent experience because data store events trigger any time client data is updated - not just when a form control is updated.

    Does your use case require setting a field value on initial load or when some data on the form changes?

Reply
  • Hi Rob,

    Responsive forms currently don't support Javascript methods for field or form events. Instead, the goal is to use rules and data store events for custom logic rather than events tied to DOM elements in the form. This approach will help provide a more consistent experience because data store events trigger any time client data is updated - not just when a form control is updated.

    Does your use case require setting a field value on initial load or when some data on the form changes?

Children