Button Events

Add a custom onclick event to a button in ChronoForms.

Overview

The Extra Attributes field in the button settings does not accept standard HTML attribute syntax.
Use the attribute:value format in the Extra Attributes field, for example, onclick:return confirmation();, to properly attach the JavaScript function.

Answered
Connectivity v6
it itpates 18 Sep, 2018
Any idea how I'm supposed to add an
onclick="return confirmation();"

to a button in Chronoconnectivity v6? The Extra Attributes is colossally useless - it just replicates anything typed in there, such as stupid="stupid", and while I can select On Click in the events tab, it gives me no way to insert the javascript function to run.
he healyhatman 19 Sep, 2018
Answer
attribute:value instead of attribute="value"
This topic is locked and no more replies can be posted.