Hi Tuan,
Is it possible to add an accordion around groups of custom fields on larger registration forms?
This message contains confidential information
This is quite a long form and I have 3 Categories of questions (Yes/No) after the core fields. Ideally it would be nice to break those up into groups each as an accordion.
I've managed to add an accordion around the whole form, but I don't see a way I can do anything within the form ?
Code:
<p>
<button type="button" class="btn btn-primary" data-bs-toggle="collapse" data-bs-target="#collapseExample" aria-expanded="false" aria-controls="collapseExample"> Subscription Form </button>
</p>
<div id="collapseExample" class="collapse.show">
<div class="card card-body">
<?php
echo $this->loadTemplate('form', array('fields' => $fields)); [color=#e74c3c]<<< - this seems to be where the action is but no way to break that up?[/color]
if ((isset($this->fees['amount']) && $this->fees['amount'] > 0) || $this->form->containFeeFields() || $this->plan->recurring_subscription)
{
?>
</div>
</div>
I'm wondering if this is possible?
Secondly is there a way within the Display Settings to horizontally align values for a Radio field type? See image attachment.
Thanks,