Third part scripts in public forms
Hello, everyone!
I'm having difficulties to implementing scripts in Pods public forms. Are scripts for both: styling and validation.
I've tried niceforms, uniform, jqtransform, jquery.validate and others, but always happens some kind of error that leaves no work properly (in jquery.validate, NOTHING happened, perhaps because the default validation of public forms in Pods...).
To call scripts and styles, I'm using the wp_enqueue_script() and wp_enqueue_script() functions in "functions.php" file, as shown in the official instructions of WordPress.
Can anyone help me?!
edited Sep 3 '10 at 12:08
2 Answers
Scott just told me this in the IRC
> sc0ttkclark: it can be done in pods by > modifying the pods core form's output > before it's echo'd [8:07pm] > sc0ttkclark: ob_start(); echo > $Record->publicForm(); echo > str_replace('stringhere','stringthere',ob_get_clean(); > [8:07pm] sc0ttkclark: but the new form > ui / api will be much more > customizable
Don't forget, you can use the current PodAPI() class to save data from your own custom form, that's what I normally do when I have very specific needs.
