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

156
Views
How to custom onSubmit in tinacms

I have problem from my tina project. My problem is I want to create my own submit button in tinacms project. Not from sidebar or top bar that has been provided by tinacms.

I want to create custom button onSubmit.

is there a way to do this ?

Tinacms docs : https://tina.io/docs/reference/toolkit/forms

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

0

about my question I has been solved by creating a function and call .submit() from tinacms.

like this :

const cms = useCMS()
function(){
   cms.forms.all()[0].submit()
}

and this function I triggered through global state.

And another way you can loop through the forms to replace writing index 0.

I hope this answer helps others readers.

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!