Skip to Content Skip to Menu

require subfield_A if subfield_B is filled

  • abqsueNM
  • abqsueNM
  • ONLINE
  • Posts: 6
  • Thanks: 1
  • Karma: 0
2 hours 20 minutes ago #344252 by abqsueNM
I have a field group named cb_dog3, which includes the subfields cb_dogname and cb_rabiesexpire. In an auto action, I'm using the condition [cb:userdata field="_cb_dog3_0_cb_dogname" /] is not empty and  [cb:userdata field="_cb_dog3_0_cb_rabiesexpire" /] is empty, I want to make the rabiesexpire subfield required and return an error message. Have I set the condition up correctly? Is there a PHP code (or other way) that will do this?

Please Log in or Create an account to join the conversation.

Moderators: beatnantkrileon
Powered by Kunena Forum