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

Required Fields #45

Open
colinambler opened this issue Apr 27, 2016 · 2 comments
Open

Required Fields #45

colinambler opened this issue Apr 27, 2016 · 2 comments

Comments

@colinambler
Copy link

colinambler commented Apr 27, 2016

Hi Rob,

You might be the king of sick add-ons! Loving the active record one. Didn't realize this was you too.

Anyways - a question. Does entry_type consider required fields? I have member fields (using Zoo Visitor dedicated channel) that I want to negotiate slightly different fields for a Coach vs. Player. I want them to be required for each respectively (so all fields are required). However, when editing a channel entry, for say a player, I want to avoid being prompted to insert the field values that are required for a coach.

Let me know thoughts.

Thanks in advance,

Colin

@rsanchez
Copy link
Owner

I looked into adding required fields based on the Entry Type, but EE didn't have a way for me to hook into form validation, so it wasn't possible.

I typically set the fields as not required, and train the client to know to not leave those fields blank. Not ideal, but I'm limited by what EE offers under the hood.

@colinambler
Copy link
Author

I see. No problem. I'm still using the extension -- working with Safecracker / Zoo Visitor where I was able to use inline rules to perform server-side validations. The Zoo Visitor convert member group to status setting + your extension applied to Status was a nice combo!

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

No branches or pull requests

2 participants