Is it possible to use FormIt with Fred? I’ve tried making a really simple form work but it doesn’t send the email and it doesn’t redirect to the success page. If I use the same code on a non-Fred page it works though.
I did as you suggested and removed data-fred-name and data-fred-editable from the containing div but still no luck I’m afraid. Nothing useful in the error log either
Well actually, it seems to be working now! I forgot to click Rebuild before testing again.
I originally didn’t have data-fred-name or data-fred-editable in the div but then probably something else was making it fail. That’s great, then I just have to add the additional stuff back in that I removed for testing and find out what made it fail.
Hi @sketchi,
That’s something I haven’t tested actually. It should work, but It could be also be something related to which type of tags get parsed first.
It might be an idea to open an issue of the Fred Github repo: https://github.com/modxcms/fred/issues
If you’d like to test exactly what values the FormIt snippet is receiving, you could add this log line to the top of the FormIt snippet: