Trying to post from a form to a non concrete page?
Permalink
Hi,
I am trying to use a c5 form (advanced form, ProForm or just standard form) so that the user can fill it out and it posts two fields to another non C5 page.
In the non C5 page i a musing a script to create a word doc using PHPWord.
I have tried to use PHPWORD as a block but it fails. So if anyone knows how i can get any of these form packages to $_POST please let me know.
Tim
I am trying to use a c5 form (advanced form, ProForm or just standard form) so that the user can fill it out and it posts two fields to another non C5 page.
In the non C5 page i a musing a script to create a word doc using PHPWord.
I have tried to use PHPWORD as a block but it fails. So if anyone knows how i can get any of these form packages to $_POST please let me know.
Tim
If you wrap the external script in a c5 tool, then you will have the c5 environment available.
Tried that and PHPWord fails
all i need to end up with is something like this
index.php?bn=TeddyBoo&on=Maeve
where bn and on are the field values, my i could do this with jquery?
index.php?bn=TeddyBoo&on=Maeve
where bn and on are the field values, my i could do this with jquery?
So you need the fields that are filled out to be sent through the query string to the non-C5 page? If so, you could just override the view.php file for the form block and set the form to use method="GET". If you don't understand what that means, post here again and I'll explain in more detail. Also keep in mind that once you override, any changes in subsequent updates of the package will need to be copied over manually.