Hi,
Thanks for all the help on this forum. I ordered the Chronoforms book this week and can't wait to get it. In the meantime I am using the e-version.
I am trying to post data from a form into an article. The form collects a list of files (from a checkbox field) that the user wants to download. The files are stored and accessible through Remository.
I am using the redirect URL after submit to send the user to the article. I'm using DirectPHP to allow php in the article. The article starts with:
and what I get is:
I first tried a multi-page form, where the 2nd page got the posted data and displayed the document download list, but when I go to a download link, and then try to return to the (last form) page to get the next document link, I get warned about resubmitting all the form data, and then I get a blank page.
Thanks again for all your help. I never would have gotten this far without it.
Thanks for all the help on this forum. I ordered the Chronoforms book this week and can't wait to get it. In the meantime I am using the e-version.
I am trying to post data from a form into an article. The form collects a list of files (from a checkbox field) that the user wants to download. The files are stored and accessible through Remository.
I am using the redirect URL after submit to send the user to the article. I'm using DirectPHP to allow php in the article. The article starts with:
<?php
if ( !$mainframe->isSite() ) {return;}
$session =& JFactory::getSession();
$posted = $session->get('posted');
if(isset($_POST)) {
echo '$_POST is set<br />';
print_r($_POST);
echo "<br />";
}
else {echo '$_POST is NOT set<br />'; }
and what I get is:
$_POST is set
Array ( )
I first tried a multi-page form, where the 2nd page got the posted data and displayed the document download list, but when I go to a download link, and then try to return to the (last form) page to get the next document link, I get warned about resubmitting all the form data, and then I get a blank page.
Thanks again for all your help. I never would have gotten this far without it.