R
R
rhost2014-06-04 15:18:15
Yii
rhost, 2014-06-04 15:18:15

Is it possible to remove JS code from a widget in yii?

In general, I made an ajax form on the view, and it seems to work fine, the problem is that the widget inserts the js code with validation into the html code of the page, js

<script>
// код
</script>

Is it possible to get rid of it without losing validation, ajax ?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
V
Vit, 2014-06-04
@hoOstel

have you tried setting enableClientValidation to false?

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question