question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

nextTextOnFinalActionStep "Submit" button showing up one step before

See original GitHub issue

const steps = [{ name: 'Step1', component: < Step1 getStore = { () => (this.getStore()) } updateStore = { (u) => { this.updateStore(u) } } />}, {name: 'Step2', component: <Step2 getStore={() => (this.getStore())} updateStore={(u) => {this.updateStore(u)}} / > }, { name: 'Step3', component: < Step3 getStore = { () => (this.getStore()) } updateStore = { (u) => { this.updateStore(u) } } />}, {name: 'step4', component: <Step4 getStore={() => (this.getStore())} updateStore={(u) => {this.updateStore(u)}} / > }, { name: 'Step5', component: < Step5 getStore = { () => (this.getStore()) } updateStore = { (u) => { this.updateStore(u) } } />}, {name: 'Step6', component: <Step6 getStore={() => (this.getStore())} updateStore={(u) => {this.updateStore(u)}} / > }]

return ( <div className='example'> <div className='step-progress'> <StepZilla steps={steps} preventEnterSubmission={true} nextTextOnFinalActionStep={"Save"} hocValidationAppliedTo={[3]} startAtStep={window.sessionStorage.getItem('step') ? parseFloat(window.sessionStorage.getItem('step')) : 0} onStepChange={(step) => window.sessionStorage.setItem('step', step)} /> </div> </div> )

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Reactions:1
  • Comments:7 (1 by maintainers)

github_iconTop GitHub Comments

1reaction
dagi12commented, Aug 28, 2018

Affects me too if anyone bothers. I workaround last step by doing .multi-step > ol.progtrckr li.progtrckr-todo[value="5"] { display: none; }

1reaction
Osho5588commented, Feb 1, 2018

Sorry, disregard my previous message.

“You need to create one extra step with Div having classname “review” and have that step included in steps configuration.” Doing that you should see the save button on your actual last page.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Spinning arrow after submission – happens only in one form ...
Arrow disappears, submission button works fine, however the form is not moving to the next step. I have also used define ('WP_DEBUG', false)...
Read more >
logic of new button and submit is present on every form ui action
when we create an custom table or open any table there two or more button show one new or submit update what the...
Read more >
<input type="submit"> - HTML: HyperText Markup Language
A Boolean attribute which, if present, specifies that the form should not be validated before submission to the server.
Read more >
How to Customize the Submit Button - WPForms
In this guide, we'll cover how to customize the text and style of your form's submit button. Changing the Submit Button Text; Styling...
Read more >
Validation Logic of the Sign and Submit Buttons in Siebel ...
Before most validation steps, the procedure consults a user property to ... Figure 6 shows the default validation logic for the Account Call...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found