Your software
My Mautic version is: 5.11
My PHP version is: 8.2.29
My Database type and version is: 10.6.22-MariaDB-0ubuntu0.22.04.1
Your problem
My problem is: the token {form=ID} doesn’t work any more, i’m was using it the older realease and i’m working with this fonction to for ebent inscription, it’s very crucia.
It’s very urgent so your help is highly apreciated
Tank you
Hello @raouf007,
The email token formID does work and always has. If it is not working for you or if you are facing unexpected errors, please check your Error Log for more information.
Keep in mind that formID should be used on landing pages, not in emails. Are you sure you are using the correct ID?
To find your form ID, follow these steps:
- Open your Mautic instance.
- Go to Components > Forms.
- Find the form you want to use. In the rightmost column, you will see the ID. Copy that value and use it on your landing page.
After you have identified the correct ID, go back to your Landing Page and use it in the token. The example below is one that I am currently using in production:
Hope this helps.
Best regards,
Ricardo