DMXzone Bootstrap 3 Forms Designer Support Product Page

Answered

Binding Data to a radio Group

Asked 12 Apr 2016 23:09:31
1
has this question
12 Apr 2016 23:09:31 Brad Lawryk posted:
IS there any tutorials on using the radio and checkbox groups? Not sure how to set up properly and bind data to them on an update form?

Replies

Replied 13 Apr 2016 07:15:48
13 Apr 2016 07:15:48 Teodor Kuduschiev replied:
Hi Brad,
Are you using static checkboxes/radio buttons or are they dynamic?
Do you need to assign "checked/selected" depending on the database value?
Replied 13 Apr 2016 13:04:09
13 Apr 2016 13:04:09 Brad Lawryk replied:
Yes, dynamic from database. Your description is exactly what I need.
Replied 13 Apr 2016 14:08:30
13 Apr 2016 14:08:30 Teodor Kuduschiev replied:
Hi Brad,
Please check this video: www.dmxzone.com/go/22842/using-radio-buttons-with-database-values/
I know it uses the 'old' database sources, but the concept is pretty much the same.
Replied 13 Apr 2016 14:26:17
13 Apr 2016 14:26:17 Brad Lawryk replied:
Unfortunately that video is not a lot of help when using the bootstrap form builder and new database connector.
Replied 13 Apr 2016 14:35:54
13 Apr 2016 14:35:54 Teodor Kuduschiev replied:
Well it does not matter if it is a bootstrap form or not ... Also - as i explained the concept is the same - it doesn't matter if your datasource is 'new' or 'old' just bind those values in the detail region / detail page, using the formatter - data-binding-checked="SomeValue" ...

Reply to this topic