Skip to content

Instantly share code, notes, and snippets.

@bystrano
Last active August 29, 2015 13:57
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save bystrano/9804551 to your computer and use it in GitHub Desktop.
Save bystrano/9804551 to your computer and use it in GitHub Desktop.
Un formulaire formidable avec toutes les saisies possibles, pour développer rapidement une charte graphique pour les formulaires formidable.
id_formulaire: '1'
identifiant: inscr
titre: test
descriptif: ''
message_retour: 'Merci pour votre inscription !'
saisies:
- { options: { label: Nom, type: text, size: '40', autocomplete: defaut, obligatoire: on, nom: input_1 }, identifiant: '@53286d4a3b9c1', saisie: input }
- { options: { label: Jours, explication: 'Choisissez le ou les jours où vous allez vous joindre à nous !', datas: "lundi|Lundi\r\nmardi|Mardi\r\nmercredi|Mercredi", cacher_option_intro: on, obligatoire: on, nom: selection_multiple_1 }, identifiant: '@53286d8d57266', saisie: selection_multiple }
- { saisie: case, options: { nom: case_1, label: 'Case unique', label_case: 'Case unique', sql: 'varchar(3) DEFAULT '''' NOT NULL' }, identifiant: '@5333f7d982b11' }
- { saisie: checkbox, options: { nom: checkbox_1, label: 'Cases à cocher', datas: { choix1: Un, choix2: Deux, choix3: Trois }, sql: 'text DEFAULT '''' NOT NULL' }, identifiant: '@5333f7dcdd6a2' }
- { saisie: date, options: { nom: date_1, label: Date, size: 40, sql: 'datetime DEFAULT ''0000-00-00 00:00:00'' NOT NULL' }, verifier: { type: date, options: { normaliser: datetime } }, identifiant: '@5333f7dfc2e81' }
- { options: { texte: 'Une explication détaillée.', nom: explication_1 }, identifiant: '@5333f7e75cb88', saisie: explication }
- { saisie: fieldset, options: { nom: fieldset_1, label: 'Groupe de champs' }, saisies: { }, identifiant: '@5333f80b1e6dc' }
- { options: { label: 'Ligne de texte', type: text, size: '40', autocomplete: defaut, nom: input_2 }, identifiant: '@5333f9436aacf', saisie: input }
- { saisie: mot, options: { nom: mot_1, label: Mot-clé, sql: 'text DEFAULT '''' NOT NULL' }, identifiant: '@5333f965b72f7' }
- { saisie: oui_non, options: { nom: oui_non_1, label: 'Oui ou non', sql: 'varchar(3) DEFAULT '''' NOT NULL' }, identifiant: '@5333f96c8689e' }
- { saisie: radio, options: { nom: radio_1, label: 'Boutons radios', datas: { choix1: Un, choix2: Deux, choix3: Trois }, sql: 'text DEFAULT '''' NOT NULL' }, identifiant: '@5333f98830339' }
- { saisie: selecteur_article, options: { nom: selecteur_article_1, label: 'Sélecteur d’article', sql: 'text DEFAULT '''' NOT NULL' }, identifiant: '@5333f98be3728' }
- { saisie: selecteur_rubrique_article, options: { nom: selecteur_rubrique_article_1, label: 'Sélecteur d’article ou rubrique', sql: 'text DEFAULT '''' NOT NULL' }, identifiant: '@5333f9915505f' }
- { saisie: selection, options: { nom: selection_1, label: 'Liste déroulante', datas: { choix1: Un, choix2: Deux, choix3: Trois }, sql: 'text DEFAULT '''' NOT NULL' }, identifiant: '@5333f99708c86' }
- { saisie: selection_multiple, options: { nom: selection_multiple_2, label: 'Sélection multiple', datas: { choix1: Un, choix2: Deux, choix3: Trois }, sql: 'text DEFAULT '''' NOT NULL' }, identifiant: '@5333f99a4d494' }
- { saisie: textarea, options: { nom: textarea_1, label: 'Bloc de texte', cols: 40, rows: 5, sql: 'text DEFAULT '''' NOT NULL' }, identifiant: '@5333f99dc17ec' }
traitements: { }
public: non
statut: ''
maj: '2014-03-27 11:12:55'
apres: valeurs
url_redirect: ''
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment