ashoks / php-form-builder-class

Automatically exported from code.google.com/p/php-form-builder-class
GNU General Public License v3.0
0 stars 0 forks source link

Missing clause in online documentation code #95

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. see:
http://localhost/php-form-builder-class/documentation/index.php#Form-Elements-Da
te

<?php
/* addDate Function Declaration
public function addDate($label, $name, $value="", $additionalParams="") {}
*/

$form->addDate("My Date", "Date");
$form->addDate("My Prefilled Date", "Date", date("F j, Y"));
$form->addDate("My Date w/Custom Hint", "Date", "", array("hint" => "To select 
a date, click here..."));
$form->addDate("My Date w/MySQL Formatting", "Date", "", array("jqueryOptions" 
=> array(
    "dateFormat" => "yy-mm-dd"
)));
$form->addDate("My Date w/Multiple Months & Restricted Range", "Date", "", 
array("jqueryOptions" => array(
    "numberOfMonths" => 2, 
    "minDate" => "-30",
    "maxDate" => "+30"
<-- here are 3 closing clauses and semicolon missing
?>

Original issue reported on code.google.com by developm...@orca-services.ch on 24 Nov 2010 at 1:48

GoogleCodeExporter commented 8 years ago
Thanks for reporting this syntax error in the documentation.  The latest svn 
commit - r455 - provides a fix.  This update will be rolled out in the next 
version release.

Original comment by ajporterfield@gmail.com on 24 Nov 2010 at 4:12

GoogleCodeExporter commented 8 years ago

Original comment by ajporterfield@gmail.com on 24 Nov 2010 at 4:12