Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

aareyes00's avatar

Bootstrap Wizard

Hi. I saw this example http://codepen.io/jonnyfoley/pen/rjwLjQ and used it on my project. But I don't know how I can remove the "Back" button on the first page. Can you guys help me?

Thanks!

0 likes
3 replies
benjackson's avatar

Take a look at the v-if on the "Submit" button. It should give you a clue!

rob897's avatar
template: `<div class="step-wrapper" :class="{ 'active': active }">
<button class="btn btn-primary" v-if="currentstep > 1" @click="lastStep()">Back</button>
    <button class="btn btn-primary" @click="nextStep()" :disabled="laststep">Next</button>
    <button class="btn btn-primary" v-if="laststep">Submit</button>
    </div>`,

Please or to participate in this conversation.