Questions tagged with values

1 answer

0 votes

Asked by blacksymmetry, on 8/2/10 in

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

Asked by blacksymmetry, on 9/2/10 in

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

Asked by blacksymmetry, on 11/2/10 in

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

Asked by blacksymmetry, on 11/2/10 in

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

Asked by blacksymmetry, on 16/2/10 in

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

Asked by blacksymmetry, on 17/2/10 in

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

Asked by blacksymmetry, on 17/2/10 in

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

Asked by blacksymmetry, on 19/2/10 in

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

Asked by saeed, 3 weeks, 3 days ago in

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

Asked by foxroberts, 2 weeks, 2 days ago in

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...

<< previous next >>