Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

138
Views
How can validation control on submitting event React-Final-Form

I have a wizard form, I want to submit a validation check and if there is a missing value in the form, I want to direct the user to that page number and show it. Can you help?

about 4 years ago · Juan Pablo Isaza
1 answers
Answer question

0

I solved. I added :

    if (!values.personal_name) { 
let personalNameValidation = new Promise(function (resolve) 
{ setTimeout(function () { resolve({ personal_name: required() }); }, 100); // should be same field name });
 this.setState(() => ({ page: 0 })) 
return personalNameValidation
}

to form submit function and added

{(meta.error || meta.submitError) && meta.touched && ( <span className="form-control-error-label">{meta.error || meta.submitError}</span> )}

to my renderField.

about 4 years ago · Juan Pablo Isaza Report
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!