Custom forms with upload ability?

0

Hi there,

I've been using custom forms and pods API to submit data to pods instead of using a public form for flexibility. My question is, how would one use a custom form and utilize uploads? Would it just be easier to use a public form and somehow modify the output with helpers?

I'd really like to know this.

Thanks!

Tre

asked Jan 26 at 6:10

tr3online

1

add comment
enter at least 15 characters

1 Answer

0

Check out the code used for the uploader in /ui/input_fields.php, you can reuse that as you need, just be sure to initialize it where needed. PodAPI expects wp_post.ID values for each upload in an array. How you get there is up to your preference.

answered Jan 26 at 2:31

sc0ttkclark

2936

Thanks. I'll give it a look over. Appreciate it. – tr3online Jan 26 at 10:56
How do I set uP the environment to be able to use pods? Say I was making a stand alone form in php that I'm going to use as a page template. I tried using similar code but can't utilize $this – tr3online Jan 27 at 8:44
add comment
enter at least 15 characters