Topic RSS
9:49 am
Hi,
is there any option to have a form with 2 steps.
1. step: Collection of data
2. step: Summary of entered data + "Submit" button
Thank you for your answers.
Tomaz
2:10 pm
March 6, 2005
Offline4:43 pm
Oliver,
Do you know how you would set this up? I'm trying to do something like this too
Thanks!
David
12:59 am
*laughing* Oliver, you crack me up so hard. That one word answer says a billion. :D
To everyone asking this question, here's a basic example implementation in a function (and if you have any questions about how this works, or how to modify it for your form, then you probably should let someone else do this):
global $wpdb;
$array = get_cforms_entries();
/* Do we have data? */
if (! $array) {echo '
Query returned no results.
'; } else {
/* OK, we have data, so let's display it */
echo '
CForms Data Dashboard
Recent Form Submissions';
/* Build a pretty table! */
print '
'; /* Put your labels in here */print ''; /* Put your field names here */ foreach( $array as $e ){echo '';}
| Submission ID | Field 1 | Field 2 | Field 3 |
| ' . $e['id'] . ' | ' . $e['data']['Field 1'] . ' | ' . $e['data']['Field 2'] . ' | ' . $e['data']['Field 3'] . ' |
}
print '';
/* Oliver has covered all this a bunch of times both in the forum, and in the FAQ */
}
Most Users Ever Online: 959
Currently Online:
66 Guest(s)
Currently Browsing this Page:
1 Guest(s)
Top Posters:
tracedef: 43
mores: 21
Gyrus: 20
frozenwaste: 18
asuffredini: 15
photoworks: 14
Member Stats:
Guest Posters: 3552
Members: 1464
Moderators: 3
Admins: 1
Forum Stats:
Groups: 1
Forums: 4
Topics: 5159
Posts: 18392
Newest Members: juredujmovic, dreamkeeper, rajattyagi, wrokaa, lukass
Moderators: Paul (421), cnymike (8), sonika (95)
Administrators: Oliver (6398)
FAQs
Home
Add Reply
Add Topic
Quote











