I'm trying to build a form that allows a user to signup to the platform to list their motorhome for sale.
My ideal scenario is this:
Step 1: The customer enters the Registration plate of their vehicle. In the backend, I have a DVLA API search plugin which pulls back information about the vehicle
Step 2: The API results sit in the form allowing the user to continue (an example of this is hidden link)
Step 3: The user selects an advertising package that determines how long the advert is up for/how many images they can store etc
Step 4: The user continues filling out various details, specification, upload images etc
Step 5: The user then submits the listing for payment > the form captures payment and if successful displays the listing. If unsuccessful it holds the details and shows the user the issue. The form should still register the user and save the information.
I've tried to follow various different guides on the Toolset site to achieve this but keep hitting a brickwall at Step 1 😉
In addition, the site needs to allow someone to login and amend their details if required as well as fully delete (as per GDPR).
Hello and thank you for contacting the Toolset support.
Currently, in Toolset, a post form is used to create or edit only one post. A user form is used to create or edit only one user. We'll need two steps, one for registering user, then creating a post by that user.
1. Registration Form with a redirect to an "Add your item" page.
2. The "Add your item" includes a post form to create the item.
Now depending on how you will collect the moto API, you may want to create a post first, then assign it to the user after registration, by keeping an ID in a session object.