Update Text
Dynamic text reactivity — anywhere inside an instance.
Last updated
Was this helpful?
Dynamic text reactivity — anywhere inside an instance.
Last updated
Was this helpful?
Enhance your form's interactivity by dynamically updating text content based on user inputs. With the text() reactivity attribute, you can seamlessly bind form data and variables to any text element, providing real-time updates as users interact with your form.
Attribute: sf-react = text(expression)
(see )
Where: any text element (like <span>
, <div>
, or <p>
) within the form where you want the text to dynamically update based on form data or user inputs.
$s
variable.