Wiki articles tagged with "form"

Showing 1-7 of 7 items.

How To: Custom Client Validation On Checkbox Toggle and Optional Input Field

Created 2 years ago by Wade Shuler, updated 2 years ago by Wade Shuler.

I just chased my tail around for a bit today. I got lost with setting the status of all inputs, and banging my head on why the "validate" function just wasn't working.

0 0
1 follower
Viewed: 11 449 times
Version: 2.0
Category: How-tos

Simple revealing and hiding the password in the password field

Created 3 years ago by Bizley, updated 3 years ago by Bizley.

There are numerous usability problems:

2 0
4 followers
Viewed: 14 005 times
Version: 2.0
Category: How-tos

Load data from internal/external source to fill form fields

Created 3 years ago by skworden, updated 3 years ago by skworden.

This wiki is to show you how to use jQuery get and JSON to get data from a dropdown/any form field and fill form fields with the values instantaneously. First, I'll give example use cases of what I'm going to teach you so you can quickly see if this is for you.

1 0
5 followers
Viewed: 21 557 times
Version: 2.0
Category: How-tos

Create Form With DynamicModel

Created 4 years ago by Misbahul D Munir, updated 4 years ago by Misbahul D Munir.

In yii2 we can create form without create FormModel. Here we go

2 0
7 followers
Viewed: 29 830 times
Version: 2.0
Category: Tips
Tags: form, model, yii2

Nested inline active fields inside Bootstrap horizontal forms

Created 4 years ago by Kartik V, updated 4 years ago by Kartik V.

Are you using the Bootstrap 3 form styles with Yii 2 Active Forms? Have you faced problems in displaying complex layouts which needs you to display multiple inline form fields in a single row, within bootstrap horizontal forms. Then read on.

5 0
40 followers
Viewed: 46 706 times
Version: 2.0
Category: How-tos

Managing different Bootstrap form layouts with yii2-field-range extension.

Created 4 years ago by Kartik V, updated 4 years ago by Kartik V.

This wiki will explain how you can use the Field range extension with multiple Bootstrap form layouts (vertical or horizontal). You maybe aware, that the yii2-field-range extension enables you to easily setup ActiveField range fields with Bootstrap styling. You basically can setup two attributes joined together like a single field with combined validation error block.

0 0
37 followers
Viewed: 22 792 times
Version: 2.0
Category: How-tos

FORM with GET method causes repeated stacking of URL Parameters

Created 4 years ago by Kartik V, updated 4 years ago by toph.

// In Yii 1.x $form = $this->beginWidget('CActiveForm', [

'id' => 'order-search-form',
'method' => 'get',

]); echo $form->textInput($searchModel, 'id'); echo CHtml::submitButton('Find', ['class' => 'btn btn-primary']); $this->endWidget(); `

4 2
40 followers
Viewed: 42 307 times
Version: all
Category: Tips