You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 43 Next »

Playground and DEMO space

This is a playground and demo space for ConfiForms and ConfiDoc addons developed and supported by Vertuna LLC

Most pages provide a storage format for the demo, so you can use the free add-on from Atlassian Confluence Source Editor (or through the bundled in ConfiForms storage editor) to import this configuration into your Confluence and see it in action

To import examples from the storage format on Confluence Cloud please see this page

Please note, all the examples here are provided without any obligation and may or may not be incomplete or may have bugs, and we provide NO SUPPORT for these examples and demos.

This is a demo with custom Registration button

 

 

 

     

We have created a simple user macro, to be used as a container for other macros which allows you to hide anything

<div style="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

<button class="aui-button" id="my_action_btn"><span class="aui-icon aui-icon-small aui-iconfont-configure"></span> Button with icon for registrations</button>
 
<script type="text/javascript">
  AJS.toInit(function() {
  AJS.$('button.cf_myform').hide();
  AJS.$('#my_action_btn').click(function() {
	AJS.$('button.cf_myform').click();
  });
});
</script>

 

 

  • No labels