Skip to content
New issue

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

Added ':controlRange' validation #2

Closed
wants to merge 1 commit into from
Closed

Added ':controlRange' validation #2

wants to merge 1 commit into from

Conversation

uestla
Copy link

@uestla uestla commented Aug 10, 2011

Added ':controlRange' validation tool (good for other form's controls' dependency)...

@uestla
Copy link
Author

uestla commented Aug 11, 2011

Example:

$form->addDatePicker('from', 'From');
$form->addDatePicker('to', 'To')
        ->addRule(':controlRange', 'The start date must be <= than the finish date.', array($form['to'], NULL));

@uestla uestla closed this Jun 25, 2012
uestla added a commit to uestla/NetteExtras that referenced this pull request Jun 25, 2012
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant