Date: Fri, 29 Mar 2024 09:12:50 +0200 (EET) Message-ID: <2066809988.1171.1711696370516@wiki.vertuna.com> Subject: Exported From Confluence MIME-Version: 1.0 Content-Type: multipart/related; boundary="----=_Part_1170_620271091.1711696370398" ------=_Part_1170_620271091.1711696370398 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Content-Location: file:///C:/exported.html
This is a demo with custom Registration button
=20 =20
We have created a simple user macro, to be used as a container for other= macros which allows you to hide anything
<div= style=3D"display:none"> $body </div>
And we have placed the Registration Control macro inside that user macro= (inside the hidden block)
Then we have added the HTML like this
<but= ton class=3D"aui-button" id=3D"my_action_btn"><span class=3D"aui-icon= aui-icon-small aui-iconfont-configure"></span> Button with icon f= or registrations</button> =20 <script type=3D"text/javascript"> AJS.toInit(function() { AJS.$('button.cf_myform').hide(); AJS.$('#my_action_btn').click(function() { =09AJS.$('button.cf_myform').click(); }); }); </script>