Yii Framework Forum: Dynamically append fields to a form - Yii Framework Forum

Jump to content

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

Dynamically append fields to a form Rate Topic: -----

#1 User is offline   gjb 

  • Newbie
  • Yii
  • Group: Members
  • Posts: 15
  • Joined: 08-March 10

Posted 24 March 2010 - 07:25 PM

I would like to add a button to a view, which when clicked will append an additional row of fields to an existing form.

Does Yii provide a method to achieve this?

Many thanks
0

#2 User is offline   samdark 

  • Having fun
  • Yii
  • Group: Yii Dev Team
  • Posts: 3,788
  • Joined: 17-January 09
  • Location:Russia

Posted 24 March 2010 - 07:36 PM

No. Can be done with JavaScript.
Yii 1.1 Application Development Cookbook

Enjoying Yii? Star us at github: 1.1 and 2.0.
0

#3 User is offline   gjb 

  • Newbie
  • Yii
  • Group: Members
  • Posts: 15
  • Joined: 08-March 10

Posted 24 March 2010 - 07:41 PM

Thank you.
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