DrQuincy Posted June 26, 2020 Share Posted June 26, 2020 When using a repeater Visible if… seems to work but not Required if… So, I have a Select drop down in the repeater (foo) and I only want a field to be required if this drop down equals a certain value (6). So, I put in the Required if box foo=6 and it seems to treat it as a required field regardless of the value of foo. Is this some kind of limitation with repeaters? Thanks. Link to comment Share on other sites More sharing options...
Robin S Posted June 26, 2020 Share Posted June 26, 2020 11 hours ago, DrQuincy said: Is this some kind of limitation with repeaters? Yes. The admin warns you about this when you define a "required if" condition for a field inside a Repeater: @ryan, it would be nice though if this limitation was mentioned in the relevant section of the inputfield dependency documention. More information: https://github.com/processwire/processwire-requests/issues/262 1 Link to comment Share on other sites More sharing options...
DrQuincy Posted June 27, 2020 Author Share Posted June 27, 2020 Thanks Robin. It's not a big deal but good to know it's not me doing it wrong. Does the ProFields plugin bring this functionality? I did read something that implied this in another post but I thought ProFields added new fields rather than enhanced existing ones. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now