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


 




Display inout data after submit

Add a New Topic Reply to Post
Post

Staxx - Guest

10:42 am - July 3, 2008

  • Your URL: NA
  • The browser used: FF3
  • cforms version: 8.5.1
  • Your Wordpress version: 2.5.1

After submission of the form data I need that data to be displayed in the page the form redirects to. I've been trying several methods but without any success. Could someont please point me in the right direction, if this is possible?!

Oliver - Admin

8:45 pm - July 3, 2008

posts 3656

Why redirect? Why not have all posted info simply being shown / fed back to the user in the success message?

Michael - Guest

10:54 pm - August 24, 2008

Oliver, that is exactly what I am looking to do.


How can I easily show/feed back the submitted information into the success message? I need to be able to display the PostID.


Also, is it at all possible to do any PHP within the success message? Or is that impossible w/o reloading the entire page?


I am attempting to display a custom success message, determined by the PostID (each post would have a different success message).


Perhaps I would need to use custom keys or something per post? I'm really not sure. Any help would be appreciated.

Oliver - Admin

11:48 pm - August 24, 2008

posts 3656

The success message can show/reference and form input field via {variables} (see tracking page for variable names for each input field).

The layout however would be the same for each post/page this form is on.

If you want to change the actual structure of this success message you need to work with a hidden container (= hidden input field) & the my-functions.php file (& its filter routines).

The hidden field (container) would include your success message that you can alter via PHP to whatever you want and pass it on to the hidden field. The success message would then in-turn only reference this {hiddenfield} when shown.

Hope this makes sense, there are quite some threads on this very same topic, try also the forum search (e.g. "my-functions.php", "+hidden +field", etc.).

Add a New Topic Reply to Post


Reply to Topic: Display inout data after submit
PLEASE READ THE FAQs FIRST! THANK YOU.

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

Guest Name (Required):

Guest EMail (Required):

Guest URL (required)

Math Required!
What is the sum of: 9 + 9        (Required)

Topic Reply:


 
© Simple:Press Forum - Version 3.1.3 (Build 356)