Creating visitor forms?

0

Is it possible to create form visible to all site visitors so they can fill in and post some data that data would end up in one or several pods for further processing.

For instance, I want to create simple order form. IT would list items available for order, allowing user to enter quantities. After user posts form values should end up in specified pod.

asked Jul 15 '10 at 5:09

pedja

1

add comment
enter at least 15 characters

4 Answers

2

I don't think you need Pods UI for this, just use the Pod "publicForm" method:

http://podscms.org/codex/publicform

answered Jul 16 '10 at 2:30

clarinetlord

456

add comment
enter at least 15 characters
0

Have you looked at Pods UI?

http://wordpress.org/extend/plugins/pods-ui/

answered Jul 15 '10 at 10:15

jackson

33

add comment
enter at least 15 characters
0

Thanks, this seems does the job.

Is there a way to make it more customizable, especially how specific form looks?

answered Jul 16 '10 at 3:12

pedja

1

add comment
enter at least 15 characters
0

Probably the easiest way is to make some input helpers to customize the functionality of any fields that you need, then attach them as shown on the publicForm Codex page. Then they will only be applied when you call the form on the front-end. As far as styling goes, there should be plenty of CSS hooks in the generated fields to style the form as needed. If you need to add any pre_save helpers or post_save helpers to add custom functionality before and after the form submits, try adding a helper to the pod the regular way (in the Pods admin) but wrap the helper code in this:

if(!is_admin()) {
 //pre_save or post_save helper code goes here
}

This way you can have code that runs only when the form is submitted on the front-end of the site.

answered Jul 16 '10 at 3:54

clarinetlord

456

add comment
enter at least 15 characters