I am using the name of the current task in my form. Currently I'm doing this via a hidden Single Line field that is set with a default value of {/_current_step_name}.
The problem I'm having is that this form gets reused for multiple task steps, and so the field is only being populated by the first task that used the form, and is not being updated on the subsequent tasks.
Does anyone know how to either:
- Always update the field to the default value rather than reloading from the previous instances of the form, or
- Access the current_step_name via Javascript.