Combine autoform buttons, with my own home button


#1

HI Guru’s,

Could you please help me with a simple issue, I would like to have the buttons on one row, with Autoform crashing:

current code

   <div class="column">
            <div class="ui segment">
    ...
                {{#autoForm collection=Customers id="insertCustomerForm" type="insert"}}
                <fieldset>
                    {{> afQuickField name='name'}} {{> afQuickField name='users'}}
                </fieldset>
                <button type="submit" class="ui button">
                    Insert
                </button>
                {{/autoForm}}
                <button class="ui button backToGeneration">
                    home
                </button>
            </div>
        </div>

thank you very much


#2

Ok, strange, it tested this a couple of weeks ago, and it never wanted to work, but the normal way now works fine:

<div class="column">
            <div class="ui segment">
                <div class="ui icon message">
                    <img class="icon" src="images/customers.png">
                    <div class="content">
                        <div class="header">
                            Insert a new customer in the local database of our SaaS platform
                        </div>
                        <li>Please enter a new customer for our SaaS platform </li>
                        <li>Maybe you also want to add some users so we can test the Single Sign on into to Qlik Sense </li>
                        <li>You can always see all active databases by pressing "Control-M" </li>
                    </div>
                </div>
                {{#autoForm collection=Customers id="insertCustomerForm" type="insert"}}
                <fieldset>
                    {{> afQuickField name='name'}} {{> afQuickField name='users'}}
                </fieldset>
                <button type="submit" class="ui button">
                    Insert
                </button>
                <button class="ui button backToGeneration">
                    home
                </button>
                {{/autoForm}}
            </div>
        </div>