Third part scripts in public forms

0

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?!

asked Sep 2 '10 at 11:37

Tárcio Zemel

1

edited Sep 3 '10 at 12:08

add comment
enter at least 15 characters

2 Answers

0

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

answered Sep 3 '10 at 12:43

wesbos

56

add comment
enter at least 15 characters
0

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.

answered Sep 3 '10 at 2:46

sc0ttkclark

2123

add comment
enter at least 15 characters