Hi,
I’m using Eform as the basis for a user management snippet -- login, change your account, retrieve your password, and so on. It works very well. However, I’ve hit a small snag; on the account management page, I’d like people to be able to submit a change, have the change saved, and then have the form re-presented with a success message. Eform usually returns a ’thankyou’ chunk when a form is successfully saved, rather than re-presenting the form. I’d like to display the ’thankyou’ chunk *and* the form.
I saw
this thread which seemed to do the trick, but because it creates a bogus error the form doesn’t actually get saved. Which obviously won’t work in my case.
I’ve tried including the form chunk in the thankyou chunk, but it doesn’t get parsed by Eform. Any other ideas? My best two options at the minute seem to be to doing a JavaScript redirect in the thankyou chunk, which is kinda clunky but at least would work, or following the advice in the thread above and add my own code to save the form in an event handler, but I don’t really want to go there.
Suggestions appreciated ;-).
Thanks
Matt