We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
There is a bug in the form_hidden function declaration.
In the documentation (https://bcit-ci.github.io/CodeIgniter4/helpers/form_helper.html?highlight=form#form_hidden) we can read : You can either submit a name/value string to create one field:
form_hidden('username', 'johndoe'); // Would produce: <input type="hidden" name="username" value="johndoe" />
... or you can submit an associative array to create multiple fields:
$data = array( 'name' => 'John Doe', 'email' => '[email protected]', 'url' => 'http://example.com' ); echo form_hidden($data);
But the second way doesn't works.
The second parameters ($value) must have a default value.
The text was updated successfully, but these errors were encountered:
227b5b3
No branches or pull requests
There is a bug in the form_hidden function declaration.
In the documentation (https://bcit-ci.github.io/CodeIgniter4/helpers/form_helper.html?highlight=form#form_hidden) we can read :
You can either submit a name/value string to create one field:
... or you can submit an associative array to create multiple fields:
But the second way doesn't works.
The second parameters ($value) must have a default value.
The text was updated successfully, but these errors were encountered: