Yii Framework Forum: Field Validate Required Enable/Disable by js - Yii Framework Forum

Jump to content

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

Field Validate Required Enable/Disable by js I want to make a field as required or not based on the value of anoth

#1 User is offline   Wilson Guimarães 

  • Newbie
  • Yii
  • Group: Members
  • Posts: 12
  • Joined: 27-June 13

Posted 16 February 2016 - 06:28 AM

I want to make a field as required or not based on the value of another field

I have a field called "status"(dropdown) with the values ​​yes and no.

When i select yes, this parent field called "Início V.", should be required, when i select no, should bt not required(remove validation)

The big problem is: I'm use tabular input. See the image

https://drive.google...HpfcXIxVkFWd21n

Someone can help me?
0

Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users