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
Multi-Form - How do you detect whether you are on LAST form (in template page php?)
July 16, 2011
6:46 am
Matt
Guest

Hi guys,

 

Love the plugin – but still fairly new to WordPress, so please excuse my ignorance…

 

My question is: I have a 3-page multi-form.  It works fine so far.  I'd like to have a "summary" box above the form on the FINAL/LAST form in the series (form 3).  I have created a new WordPress page template so I can insert the HTML for the summary box, but I do not know how to determine (in this php code) whether I am on the FINAL/LAST form in the multi-form sequence!  I need to know this, as I *only* want to show this summary code on the final page… so I'm going to have some code that will be something like:

 

IF (isFinalPage) {

  // output summary box

 

I realise this is probably a newbie issue, but I'm pretty stuck.  I've tried printing the $cformsdata at various points in the my-functions.php, but it's not really helping me.

 

Any ideas?

 

Thanks!

 

Matt.

May 23, 2013
12:37 am
CF
Guest

I also need this.

It's very sad that I cannot find it anywhere, and your post is still left without any answer…

Forum Timezone: Europe/Berlin

Most Users Ever Online: 959

Currently Online:
17 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: 3740

Members: 1463

Moderators: 3

Admins: 2

Forum Stats:

Groups: 1

Forums: 4

Topics: 5340

Posts: 18707

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

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

Administrators: Oliver (6400), Nicky (3)