Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
Pages: 1
#1 2008-04-14 17:14:34
- Ruhh
- Member
- From: dakota dunes
- Registered: 2008-01-20
- Posts: 305
show message after a submission
i am using a php include in an article. it consists of an ask form. i would like to show a thank you message on the same page after submission. how would i do that?
<txp:Ruhh />
Offline
Re: show message after a submission
Use the zem_contact_reborn plugin for creating contact forms.
Offline
#3 2008-04-14 18:06:41
- Ruhh
- Member
- From: dakota dunes
- Registered: 2008-01-20
- Posts: 305
Re: show message after a submission
actually, i am including an external php file. it is a faqtastic script. i wanted to show the section in the file that shows a thank you message in the same article page.
Last edited by Ruhh (2008-04-14 18:07:03)
<txp:Ruhh />
Offline
Re: show message after a submission
hi Ruhh
zem_contact_reborn is also absolutely wonderful, versatile and safe. Unless you want attachments to your emails you find the plugin much easier and more appropriate as it was made to work with txp.
Yiannis
——————————
NeMe | hblack.art | EMAP | A Sea change | Toolkit of Care
I do my best editing after I click on the submit button.
Offline
#5 2008-04-15 23:29:10
- Ruhh
- Member
- From: dakota dunes
- Registered: 2008-01-20
- Posts: 305
Re: show message after a submission
I do have the plugin. I already have a contact section with the tags input.
I am talking about a faq section with a php include of an external php file consisting of the script. I want to be able to show a form with a thank you message in it after clicking on submit in the html form that is from the script.
<txp:Ruhh />
Offline
Re: show message after a submission
It looks like faqastic does this.
// Display a thank-you message on sucessful input.
if(isset($_GET['a'])){
echo('<div class="thanks"><b>Thanks!</b> Your question has been submitted.</div>');
}
Piwik Dashboard, Google Analytics Dashboard, Minibar, Article Image Colorpicker, Admin Datepicker, Admin Google Map, Admin Colorpicker
Offline
#7 2008-04-16 00:03:27
- Ruhh
- Member
- From: dakota dunes
- Registered: 2008-01-20
- Posts: 305
Re: show message after a submission
Exactly.
So how would I be able to get that to show up on the same article page that consists of the php include?
<txp:Ruhh />
Offline
Pages: 1