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 accepted_if validation rule #38210

Merged
merged 3 commits into from
Aug 3, 2021
Merged

Added accepted_if validation rule #38210

merged 3 commits into from
Aug 3, 2021

Conversation

aneeskhan47
Copy link
Contributor

@aneeskhan47 aneeskhan47 commented Aug 2, 2021

Hi,

since we have the accepted rule, i think there should be accepted_if rule aswell.

reason for this PR is that I pass my checkbox values as 0 and 1. so i wanted to have the checkbox checked (value 1) if other field value (e.g payment status) is == paid

i have attached the tests also 😃

image

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.

2 participants