CraueFormFlowBundle icon indicating copy to clipboard operation
CraueFormFlowBundle copied to clipboard

Add html attributes to buttons in flow

Open GWillmann opened this issue 9 years ago • 0 comments

Hi there,

Is there a way to add html attributes to the flow buttons (next, reset...) ?

I would like to add google analytics events to the buttons in my case. For example :

<button type="submit" class="btn submit-btn btn-last" data-ga-event="{'eventCategory':'UI','eventAction':'click','eventLabel':'Template download'}">Next</button>

The data-ga-event part is what I would like to add...

Thanks !

GWillmann avatar Oct 27 '16 06:10 GWillmann