Yii Framework Forum: Forms + Validation + MANYMANY - Yii Framework Forum

Jump to content

Page 1 of 1
  • You cannot start a new topic
  • This topic is locked

Forms + Validation + MANYMANY Rate Topic: -----

#1 User is offline   adrian 

  • Newbie
  • Yii
  • Group: Members
  • Posts: 14
  • Joined: 04-August 09

Posted 04 August 2009 - 10:10 AM

If I have three MySQL tables: Post PostCategory Category whereby Post and Category have a MANY to MANY relationship, how would I incorporate ability to select multiple categories from the Post form? and then validate the form and save the data into Post and the appropiate data into PostCategory?

Furthermore, ive already set up the the relationships in the active records model.

Thanks.
0

#2 User is offline   .D3 

  • Junior Member
  • Pip
  • Yii
  • Group: Members
  • Posts: 33
  • Joined: 19-August 11

Posted 22 October 2011 - 09:07 PM

Did you manage to make it work ???
I need to validate the category select too.

Thanks
0

#3 User is offline   hnam 

  • Junior Member
  • Pip
  • Yii
  • Group: Members
  • Posts: 49
  • Joined: 19-September 10
  • Location:BSP

Posted 05 December 2011 - 03:47 AM

Yes its good question i want same .
can any body help us ?
On revolutions !
0

#4 User is offline   Reolbox 

  • Junior Member
  • Pip
  • Yii
  • Group: Members
  • Posts: 30
  • Joined: 13-April 11

Posted 12 December 2011 - 09:46 AM

I have the same question here!
--
My portfolio
I am looking for dedicated backbone programmer.
0

#5 User is offline   waterloomatt 

  • Advanced Member
  • PipPipPip
  • Yii
  • Group: Members
  • Posts: 545
  • Joined: 09-April 10

Posted 12 December 2011 - 10:33 AM

This thread might help.

Matt
0

Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • This topic is locked

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