skyrun
Active Member
I have a fabrik form that accepts parameters and then builds a list of emails based on what was input.
Then i have another fabrik form that displays the results.
It works fine passing the form elements by url like this:
php onAfterProcess php plugin:
//... some other stuff to create $emaillist...//
echo "<script>window.location = 'group-text-email?option=com_fabrik&task=form.view&formid=168&rowid=&srms_group_email_text_preview___emaillist=".urlencode($emaillist).'</script>";
This script is the last line of the php form plugin on the first form.
however if the list is long (it could be hundreds or even thousands of emails)... i run into the limit of how long a url can be (get a 414 Request-URI too long).
Then i have another fabrik form that displays the results.
It works fine passing the form elements by url like this:
php onAfterProcess php plugin:
//... some other stuff to create $emaillist...//
echo "<script>window.location = 'group-text-email?option=com_fabrik&task=form.view&formid=168&rowid=&srms_group_email_text_preview___emaillist=".urlencode($emaillist).'</script>";
This script is the last line of the php form plugin on the first form.
however if the list is long (it could be hundreds or even thousands of emails)... i run into the limit of how long a url can be (get a 414 Request-URI too long).
- one workaround would be to use SQL to build a new form row and point to that record when i redirect to the other form.
- another option would be to send the element data to the new form NOT on the url, but as post data.
Last edited: