1 answer
0 votes
Hashing input values from form.
Hello,
I validating form input password:
but values doesnt matching:
I think, that password_confirm is hashed , and password value not.
How could i hashed password value from input?
Thanks for any reply..
'password' => array(
'empty' =>... 2 answers
0 votes
How to solve inserting parameters into the form?
Hello, I would like put some values into a form as hidden input fields.
I have got a function with name:
function detail($id = null)
{
//some app logic
$this->set('detail_values', $this->Company->read(null, $id));
}
In this function adding...
1 answer
0 votes
How can i get values from array?
Hello, i have got relationships between two tables
Users
Ratings
In users function detail i get some values about user, by
<?php print_r($detail_values);?>
Print values on screen and i would like get a write out values in array:
[Rating] => Array (... 3 answers
0 votes
How to get values from form and dont use GET?
Hello,
I would like to get some values from form and pass these values into the function, but without GET method for passing values.
Thanks for any advice..
2 answers
0 votes
How to get values from URL?
Hello i have got one question.
How can i get number value into the form, from url?:
app_frontend/ratings/add/1
Thanks very much for any reply..
2 answers
0 votes
How can i send data from form to another function as array ?
Hello,
in add function get values from from with:
$this->data
And save this.
I would like send this data to another function, for example:
function confirm
and here this data write out into the view, as confirm of user registration.
Thanks for any reply.
1 answer
0 votes
Why cannot get value defined in AppController?
Hello i would like to ask on this problem.
In AppController in function beforeRender() i have got:
{{{
//USER VALIDATION, BEFORE INSERT VALUE INTO THE HIDDEN FORM...
1 answer
0 votes
Warning with save additional form values into the model.
Hello I have got a trouble with handling session values:
In add action i get additional session values to insert:
But if i send form, get a many of warning messagess, like:
Notice (8): Use of undefined constant Company - assumed 'Company'...
0 answers
0 votes
Manipulating Form field's data
Hi,
I am fairly new to cakePHP.
Using Bake I have created my models, controllers and views.
I have a long form on one page which collects data and saves to several models. I have managed to save data into several models from one form using the...
0 answers
0 votes
Dynamic forms: Values slip between input fields
I am using the form helper to setup a dynamic form. Dependent on the user's information there a some added fields. For example:
Standard user
name, street, city
Extended user
name, street, zipcode, city, country
The code looks like this for each...