Yii Framework Forum: Jquery Trigger Form Submit On Page Load With Confirmation Dialog - Yii Framework Forum

Jump to content

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

Jquery Trigger Form Submit On Page Load With Confirmation Dialog Rate Topic: -----

#1 User is offline   RashidHarun 

  • Newbie
  • Yii
  • Group: Members
  • Posts: 1
  • Joined: 22-November 12

Posted 29 December 2012 - 08:37 PM

I have a form which users can fillup partially and save to db upon clicking submit button.
There is no required validation in my form.
every time users come to this form and submit I check whether they have fillup all required field in db during insert and update.

After hiting save button after calling $model->save()
If all field is filled up in db I want to show a jquery confirm dialog.
If user click yes it will update a field in that model nothing otherwise.

I am new to yii.
Can anyone help please?
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