horst Posted February 4, 2021 Share Posted February 4, 2021 Hi, the use case is that I have a Profields Textareas inputfield with 3 subfields that I call A, B, C in the example. The user should have to fill in A & B, but not C. C is optional and only used in under 10% of all entries. Is it possible to define a requirement for selected subfields of inputfields without a hook? Or need I to use a hook for that? If yes, is there one other or better then Page::SaveReady? Any hint is appreciated. ? Link to comment Share on other sites More sharing options...
Robin S Posted February 4, 2021 Share Posted February 4, 2021 2 hours ago, horst said: Is it possible to define a requirement for selected subfields of inputfields without a hook? Yes, by appending an asterisk to the field name in "Textarea Definitions". 1 1 Link to comment Share on other sites More sharing options...
horst Posted February 5, 2021 Author Share Posted February 5, 2021 1 hour ago, Robin S said: Yes, by appending an asterisk to the field name in "Textarea Definitions". Oh yeah, that's good news! ? And also requiredIf is possible too! Thanks @Robin S 1 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