AdvancedCustomFields / AdvancedCustomFields/acf
Required toggle and conditionnal logic
Nobody has claimed this yet.
- Dominant language
- PHP
- Stars
- 945
- Forks
- 197
- PR merge metrics
- No merged PRs in 30d
Description
Hello,
Should be great to add a check and required check box to allow us adding required fields inside a conditional logic.
Use Case
I create a text field which is mandatory only if another field is set.
Actual behaviour
if the field inside a conditional logic unmatched is required and not filled, we can't save the post.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
No files or tests are named. Reproduce the save failure with a required field inside conditional logic, then trace the validation path; done means an unmatched conditional required field can be left empty while the field remains required when its condition matches.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- php
- Domain
- backend, content
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100