TP-Docs
HTML5 Icon HTML5 Icon HTML5 Icon
TP on Social Media

Recent

Welcome to TinyPortal. Please login or sign up.

Members
Stats
  • Total Posts: 195,994
  • Total Topics: 21,325
  • Online today: 207
  • Online ever: 8,223 (February 19, 2025, 04:35:35 AM)
Users Online
  • Users: 0
  • Guests: 171
  • Total: 171

Form Creation

Started by Rebecca, June 04, 2008, 04:56:39 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Rebecca

Hi Everyone,

Just wondering if its possible to create something like the attached using TP?

Cheers!


JPDeni

Yes. You'll need to use a php block or article and you'll need to be careful when you make your textarea. The closing tag needs to be broken up -- something like


echo '</text' . 'area>';


You can also process the data within the same file, include error processing, and print out the "thank you" page after processing.

Rebecca

JPDeni thanks for the reply, sounds way over my head im only just starting to get into coding... does anyone know of any easier way?

Cheers.

JPDeni

Quotedoes anyone know of any easier way?
It's really pretty easy to do. You have to code it anyway, even if it's just html. You can do it in html, but you're likely going to have a problem with your textarea. And then you'd need a separate script to do the processing and another page to display after the processing. With a php file, you can do it all at once.

I think the first thing for you to do is to work out the html for your form and decide what you want to do with the data. Once you get those things figured out, post them here and either I or someone else will be able to help you with the next step.

This website is proudly hosted on Crocweb Cloud Website Hosting.