textarea

e107 CMS » Forums » Miscellaneous » Code << Previous thread | Next thread >>
jackbauer750
Jun 30 2012, 06:12AM
Registered Member #144536
Joined: Jan 05 2012, 09:12AM
Posts: 50
hi fellas,

quick question:
is it permitted to have 2 textareas in one form where users are able to:

1) Explain in more detail, location of property if they live in a village.

2) Explain in more detail, if package needs to be left in certain place.

in my plugins.php form i have the following 2 enteries:

explain1 TEXT NOT NULL ,
explain2 TEXT NOT NULL ,

then in form i have:

$explain1 = mysql_real_escape_string($_POST['explain1']);
$explain2 = mysql_real_escape_string($_POST['explain2']);

along with:

<tr><td><br><font class='delivery'><b>"._EXPLAIN1."</b></font></td></tr><td class='forumheader3'>$explain1</td></tr>
<tr><td><br><font class='delivery'><b>"._EXPLAIN2."</b></font></td></tr><td class='forumheader3'>$explain2</td></tr>
Go to top
C6Dave
Jun 30 2012, 10:20AM
  • e107 Site administrator
  • e107 Support Team Leader
Registered Member #9506
Joined: Jul 31 2004, 12:57AM
Location: North East UK
Posts: 12341
Why not use the 'Survey' plugin (Septors re write). you can do what you like then
Go to top
Website
John-Arild
Jun 30 2012, 02:10PM
  • e107 Translation Team
Registered Member #31415
Joined: Oct 14 2006, 07:42AM
Location: Fetsund, Norway
Posts: 102
This plugin is excellent. I am using it on my site, and Septor is great at making requests come true
Go to top
Website
 

Jump:     Back to top

Syndicate this thread: rss 0.92 Syndicate this thread: rss 2.0 Syndicate this thread: RDF
Powered by e107 Forum System