Hi,
is it possible to set values to the content input fields via JS?
In my scenario: When value of field A changes, then field B should get value X.
Hi,
is it possible to set values to the content input fields via JS?
In my scenario: When value of field A changes, then field B should get value X.
Hi @Detzler, and thank you for contacting Builder.io Forum!
Yes, it is possible to set values to the content input fields via JS. This can be done using the state in the builder. Please refer to this doc for more details: Making interactive content in Builder.io with state and actions - Builder.io
Here are some instructions and loom for your scenario:-
state.newField0 = {dynamic or static value};
Loom: Loom | Free Screen & Video Recording Software | Loom
Let us know if you have further questions!