Welcome! » Log In » Create A New Profile

Forms, inputs, filters, and paypal/amazon payment codes

Posted by Mike 

I've been using HTMLPurifier for some time now and I'm fairly familiar with how it all works, but I can't seem to find any way to filter incoming data for any html except forms and form inputs.

I have a project that needs to allow users to submit their PayPal/Amazon/Google Checkout payment forms (the basic forms with buttons) but there doesn't seem to be any way to allow both the form, and the input elements.

I've tried allowing them all specifically, I've tried using HTML.Trusted, but that just allows the form element. I've read a lot about the intentional lack of form support in HTML Purifier, but I need to figure this out.

If there isn't a setting or configuration I can use, would I be able to write a new filter or would those not work? Does anyone know of an existing filter I could use rather than having to write my own?

Re: Forms, inputs, filters, and paypal/amazon payment codes
December 30, 2010 12:00PM

Hello Mike,

Sorry about the really late response to your question. Can you post the specific snippets of code that need to be let through? This would let me give more guidance.

Sorry, you do not have permission to post/reply in this forum.