cformsII Support Forum
Current User: Guest *Frequently Asked Questions*
Search 
Search Forums:


 




form_id blank in Database wp_cformssubmissions table

Add a New Topic Reply to Post
Post

Fish - Guest

9:08 pm - April 21, 2008

1

Hey there. I just noticed that the form_id field is blank on my form. I just installed cfforms from the latest release for WP2.5

Would like to do a query of the database and with multiple forms, this makes it tough to know which form was submitted.

My site is behind a HTTP AUTH until launched. I emailed you the info last week.

Any help is appreciated.

Dave

Oliver - Admin

9:41 pm - April 21, 2008

posts 3909

2

Yes, for the first form, the form_id is blank.

to access all records pertaining to a given form (XYZ), this is the SQL:

SELECT *, form_id FROM {$wpdb->cformsdata}, {$wpdb->cformssubmissions}
WHERE sub_id=id
AND form_id='XYZ'
ORDER BY sub_id, f_id

$wpdb->cformsdata and $wpdb->cformssubmissions of course need to be set.

XYZ = blank for form #1 and 2,3,4...for other forms.

Fish - Guest

10:35 pm - April 21, 2008

3

Awesome. I see. Thanks Oliver!

Reply to Post


Reply to Topic: form_id blank in Database wp_cformssubmissions table
PLEASE READ THE FAQs FIRST! THANK YOU.

NOTE: New Posts are subject to administrator approval before being displayed

Guest Name (Required):

Guest EMail (Required):

Topic Reply:

Save New PostSmileysOptions

Guest URL (required)

Math Required!
What is the sum of:
1 + 5
   

 
Confused Cool Cry Embarassed Frown Kiss Laugh Smile Surprised Wink Yell

Search