Jan 22nd, 2013, 11:04 PM
So, I'm trying to do an "outside the box" approach using FT 2.2.5. I want to calculate (through some php and a hidden form field) some html that I'd like to store in my database. Only problem is that every time I try to submit the form, I get a forbidden error. I've narrowed this down to the hidden field with the html inside (i.e., I comment out that hidden form input, and all works fine). I've tried setting the form's "strip on incoming submissions" to No, but this is still an issue.
Basically, I'm calculating a bunch of html input fields to put on the confirmation page to allow paypal payments. I want these stored so that if a user comes back later with his/her submission id, he/she can still access the same cart.
The culprit code is this (inside the form on page 2).
I've tested to ensure the calculation works, and the value that is plugged in that field from the POST is absolutely correct. The problem occurs when submitting the finished form to the database.
Basically, I'm calculating a bunch of html input fields to put on the confirmation page to allow paypal payments. I want these stored so that if a user comes back later with his/her submission id, he/she can still access the same cart.
The culprit code is this (inside the form on page 2).
Code:
<input type="hidden" name="aw_paypal_data" value="<?=str_replace("\"","'",@$paypal_data)?>" />
I've tested to ensure the calculation works, and the value that is plugged in that field from the POST is absolutely correct. The problem occurs when submitting the finished form to the database.