From 928158bf3a308330ab6518ff0d149d4585d7f38f Mon Sep 17 00:00:00 2001
From: Derek Allard Release Date: not yet released Release Date: September 11, 2009 Creates an opening form tag with a base URL built from your config preferences. It will optionally let you
-add form attributes and hidden input fields.
SVN Revision:
+
+
+
+ Version 1.7.2
SVN Revision: 1737form_open()
The main benefit of using this tag rather than hard coding your own HTML is that it permits your site to be more portable in the event your URLs ever change.
@@ -84,7 +84,7 @@ in the event your URLs ever change.The above example would create a form that points to your base URL plus the "email/send" URI segments, like this:
-<form method="post" action="http:/example.com/index.php/email/send" />
+<form method="post" accept-charset="utf-8" action="http:/example.com/index.php/email/send" />
The above example would create a form similar to this:
-<form method="post" action="http:/example.com/index.php/email/send" class="email" id="myform" />
+<form method="post" accept-charset="utf-8" action="http:/example.com/index.php/email/send" class="email" id="myform" />
The above example would create a form similar to this:
-<form method="post" action="http:/example.com/index.php/email/send">
+<form method="post" accept-charset="utf-8" action="http:/example.com/index.php/email/send">
<input type="hidden" name="username" value="Joe" />
<input type="hidden" name="member_id" value="234" />
--
cgit v1.2.3-24-g4f1b