rsanchez/entry_type

Required Fields

colinambler opened this issue · 2 comments

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

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.

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!