Wiki articles tagged with "form"

Showing 1-7 of 7 items.
Created a year ago by Wade Shuler, updated a year ago by Wade Shuler.

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

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: 7 770 times
Version: 2.0
Category: How-tos
Created 2 years ago by Bizley, updated 2 years ago by Bizley.

Simple revealing and hiding the password in the password field

There are numerous usability problems:

1 0
4 followers
Viewed: 9 284 times
Version: 2.0
Category: How-tos
Created 2 years ago by skworden, updated 2 years ago by skworden.

Load data from internal/external source to fill form fields

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: 16 283 times
Version: 2.0
Category: How-tos
Created 3 years ago by Misbahul D Munir, updated 3 years ago by Misbahul D Munir.

Create Form With DynamicModel

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

0 0
7 followers
Viewed: 22 478 times
Version: 2.0
Category: Tips
Tags: form, model, yii2
Created 3 years ago by Kartik V, updated 3 years ago by Kartik V.

Nested inline active fields inside Bootstrap horizontal forms

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: 42 236 times
Version: 2.0
Category: How-tos
Created 3 years ago by Kartik V, updated 3 years ago by Kartik V.

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

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: 20 205 times
Version: 2.0
Category: How-tos
Created 3 years ago by Kartik V, updated 3 years ago by toph.

FORM with GET method causes repeated stacking of URL Parameters

// 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(); `

2 2
40 followers
Viewed: 33 776 times
Version: all
Category: Tips