s of the fields
…… and so on
From: cake-php@googlegroups.com [mailto:cake-php@googlegroups.com] On Behalf Of
Stephen S
Sent: Thursday, May 22, 2014 4:56 PM
To: cake-php@googlegroups.com
Subject: Re: Validate Dynamic Forms
You can add and remove validation rules on the fly before you check
You can add and remove validation rules on the fly before you check if the
form is valid.
http://book.cakephp.org/2.0/en/models/data-validation.html#dynamically-change-validation-rules
On 22 May 2014 19:50, Advantage+ wrote:
> I am building a questionnaire where the user can add questions to a
I am building a questionnaire where the user can add questions to a form
(either yes or no or text answer response)
So the Question has id, quiz_id, question, type (text or true / false),
But how would you validate this?
In the view I simply do a foreach ($questions as $question){
echo $t
2010/12/20 Andrés Manikis :
>
> I do need different fields for passport and National document. For
> example, the passport has an expiration date whereas the national
> document has not. So I think I should extend the Credential model.
> How could I do that? I know how to do it at the PHP side but
On 18 dic, 16:46, cricket wrote:
> On Fri, Dec 17, 2010 at 11:20 PM, Andr?s Manikis
>
> wrote:
> > Hello.
> > I have the following questions.
>
> > Let's suppose I have, say, a person model which has an id, a name and a
> > boolean that tells whether this person is native from a specific countr
On Fri, Dec 17, 2010 at 11:20 PM, Andr?s Manikis
wrote:
> Hello.
> I have the following questions.
>
> Let's suppose I have, say, a person model which has an id, a name and a
> boolean that tells whether this person is native from a specific country or
> not (for example, native from Argentina or
Hello.
I have the following questions.
Let's suppose I have, say, a person model which has an id, a name and a
boolean that tells whether this person is native from a specific country or
not (for example, native from Argentina or not).
In the case of being native, he has a national document, ot