Forum
Form app not registering form submission
Hi guys, I'm hoping you can help, I can't get my contact form to submit to the app in my admin area.
I'm using the exact template in the tutorials and when i submit the form the success response comes up, but the app doesn't come up in the admin area.
I'm using a rewrite rule to manage the URL
RewriteRule ^apply.php$ index.php?p=apply&s=none
and I'm setting the page with PerchSystem::set_page('apply.php')
is there any thing obvious I could do ? Thanks in advance
Have you added the Forms app to the config file
apps.php
?Hi Rachel, Yeah I have:
And the forms app comes up in the admin section also ?
Can you turn debug on for the page and let me know what it outputs after submitting the form?
Ok, this is really strange, I enabled Debug in the config : define('PERCH_DEBUG', true);
and I added it to the page:
<?php PerchUtil::output_debug(); ?>
Then, all my page regions reset on that page ??
So I reapplied the template to my form region, reloaded the page, submitted the form, and now it shows up in the form app
Is that normal ?
Sorry, here is the debug info:
What do you mean by reset?
I can see the form response going into the database.
Hey Drew, The Resetting was caused by me pointing perch to the wrong DB. In fact, when I deleted the region and reset it the form worked. I'm not sure why it didn't before, but it's fine now ? No code changed ? Thanks for your help Dylan