cforms II User Forum

Registration is currently disabled.
Guest

FAQs

Login form protected by Login LockDown.


Lost password?
Advanced Search

— Forum Scope —

  

— Match —

   

— Forum Options —

    

Wildcard usage:
*  matches any number of characters    %  matches exactly one character

Minimum search word length is 4 characters - maximum search word length is 84 characters

Topic RSS
Summary of data
August 29, 2012
9:49 am
Tomaz
Guest

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

October 12, 2012
2:10 pm
Oliver
Munich, Germany
Admin
Forum Posts: 6400
Member Since:
March 6, 2005
Offline
December 12, 2012
4:43 pm
daveyb
Guest

Oliver,

Do you know how you would set this up? I'm trying to do something like this too

Thanks!

David

January 8, 2013
12:59 am
TheWebGuy
Guest

*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): 

function cforms_tableview() {
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 */
}

Forum Timezone: Europe/Berlin

Most Users Ever Online: 959

Currently Online:
51 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: 3762

Members: 1463

Moderators: 3

Admins: 2

Forum Stats:

Groups: 1

Forums: 4

Topics: 5361

Posts: 18742

Newest Members: juredujmovic, dreamkeeper, rajattyagi, wrokaa, lukass

Moderators: Paul (421), cnymike (8), sonika (95)

Administrators: Oliver (6400), Nicky (3)