Sep 23rd, 2009, 6:38 PM
(Sep 23rd, 2009, 6:26 PM)Ben Wrote: Hey Invectus,
Sure, no problem.
There's a couple of ways you could do it.
1. JS approach: On form submit, right before the content is actually submitted, you could empty the fields
2. Use this module and add rules like so:
PHP Code:if ($_POST["my_field"] == "default value")
$_POST["my_field"] = "";
if ($_POST["my_field2"] == "another default value")
$_POST["my_field2"] = "";
That's pretty much it! You would, of course, have to set up a pre-parser rule for your particular form and add the PHP above as the content. But there's no reason why it wouldn't work!
Hope this helps -
Ben
Ben, as alway's,
you're very helpful. Let me give it a try and let you know what happened.
Cheers,
Invectus