I’m using a custom html form element in my Slack “send message and wait” (human-in-the-loop) workflow. I entered an expression, i.e. {{ $json.key_name }}, to the custom html text area. There was no option for fixed versus expression, but the expression turned green (instead of grey). I assumed this would be evalutated when the human-in-the-loop form was displayed, but instead the content just shows the expression exactly as entered into the text area ({{ $json.key_name }}).
According to this pull request, those custom html fields should evaluate expressions before displaying their content on the form’s web page. Is there something I’m missing?
Thank you for your response. Unfortunately, both of those suggestions require JSON data from a previous node to be put in an expression with the “Custom HTML” field. Therefore, I don’t think doing either will help.
<p>This html is static.</p>
{{ $json.dynamic_html }}
I’m pretty sure it doesn’t matter which source node generates the HTML values if the expression doesn’t getting evaluated. It seems like PR #13755 only works on the Form trigger and Next Form nodes. It really needs to be expanded to work on all the “Send and Wait” nodes like the Slack “Send Message and Wait for Response” node type I’m using.
I’m using the 1.99.1 community edition via the Docker container. I assume that anything in Github in the 1.99.1 tag is part of that community edition.