Forums

Adding a dynamic message in form

Reqvu 25 Feb, 2019
Have been using Chronoforms for a long time but for some reason, I can't work out how to present dynamically some text mid-form.
I have several checkboxes and drop downs that users make choices from and below those fields I'd like to present some text that changes as they do so. That way they can decide how to fill out the next part of the form I want to show them.

The areas "message box" and the custom "html" choices don't seem to have the ID field so that I can call on them dynamically from the events area of the checkbox and dropdown fields.

Any suggestions?
healyhatman 25 Feb, 2019
If you use a custom HTML block, you can put the ID in yourself. Like
<div id = "my_id" data-reloadurl="{url:reloadeventname}"></div>
Then in the events area, use #my_id. Make sure your reloadeventname event returns that DIV back, including the ID and data-reloadurl, with your content inside the div.
This topic is locked and no more replies can be posted.