A
A
Albert Tobacco2015-03-25 19:56:30
Yii
Albert Tobacco, 2015-03-25 19:56:30

How to cancel focus on CActiveForm?

I draw a form using activeforms. I have only one date picker there (I do it with the help of zii.widgets.jui.CJuiDatePicker)
and two "approve" and "deny" buttons.
The date is already set (it is understood that a person can change it if he wants)
This is all in the popup, when I show the popup, the calendar of the date picker falls out. It is shown due to the fact that focus is placed on the field with the date (I tried to put the left input first, the calendar was not shown, but there are no inputs in the form :() It needs to be removed.
How to overcome it?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Alexander Makarov, 2015-03-31
@SamDark

Add tabindex to hidden form element.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question