Skip to content

Xataface radio module (provides a radio buttons widget for Xataface forms)

License

Notifications You must be signed in to change notification settings

JerOrc/xataface-module-radio

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 

Repository files navigation

Xataface Radio Button Module

Synopsis:

The Xataface radio module adds a "radio buttons" widget for use in forms. Options are generated from a vocabulary.

radio widget example

Installation:

  1. Copy the summary directory into your modules directory ie. modules/radioButton :

e.g. if Your application is installed at path/to/app, then you would copy files widget.php and radioButton.php to the path/to/app/modules/radioButton directory.

  1. Add the following to the [_modules] section of your app's conf.ini file :

[_modules] modules_radioButton=modules/radioButton/radioButton.php

Usage:

To configure a field to use the radio widget, just set its fields.ini file widget:type directive to "radioButton" and set the vocabulary directive. See the vocabulary wiki page for more information about Xataface vocabulary.

Option : You should also set a facultative separator between the radio buttons as in this example :

[program]
widget:type=radioButton
vocabulary=programs
widget:separator=" " ;facultative

Credits:

About

Xataface radio module (provides a radio buttons widget for Xataface forms)

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages