Stateless Forms - next previous buttons

Stateless Forms - next previous buttons

Right so I have a multiple form app (using stateless forms) writing to a single table . What I can't work out is what the onclick command is for custom buttons to go to the next stateless form or previous ! Please help

I know it's possible as done here https://creator.zoho.com/mobile/sampleapps/next-previous/#