Possible to share how you do it?
Since it's non-trivial, I'll be happy to do it as a paid job. In general, here's what I did.
1. Upload the file [Javascript/jQuery]
2. Move the file to a known location on the server [PHP via Ajax]
3. Create an entry in WP_POSTS for that file [PHP via Ajax]
4. Retrieve that ID from the new entry [Ajax return value]
5. Store that ID in a hidden field in the Formidable Form [Javascript/jQuery]
6. When the form is submitted, move the value in the hidden field to the Formidable File Upload object that was previously empty [frm_after_create_entry hook]
Please login or Register to submit your answer