Les coforms template est une fonctoinnalitĂ© permettant d’enregistrer un coform comme un template pour une rĂ©utilisation dans un autre contexte ou par d’autre contexte. la mutualisation (rĂ©utilisation) des coforms est possible avec plus ou moins de contrainte avec le tpl d’origine :
Things you can parameter and configure
Nouveau Formulaire
Menu Template
:::danger TOOOODDDOOOOOOOO :::
http://127.0.0.1/survey/form/schema/id/ctenatForm
http://127.0.0.1/costum/co/index/slug/dealAH#answer.index.id.5eb1ba7b539f22b5738b4569.mode.r
http://127.0.0.1/costum/co/index/slug/dealAH#answer.index.id.5eb1ba7b539f22b5738b4569.mode.r
http://127.0.0.1/costum/co/index/slug/dealAH#answer.index.id.5eb1ba7b539f22b5738b4569.mode.w
http://127.0.0.1/costum/co/index/slug/dealAH#dashboard
documentation [[~d/modules/costum/views/tpls/forms/README.md]] [ ] schema [[https://docs.google.com/presentation/d/1jwi3pYEzL_r8IH1AEpzlJe4jTt2kG7BZS5Hyq1kZHeE/edit#slide=id.p]]
costum.form.hasStepValidations : answer step active le bon stepper
on the answer step attrib gives
hasOpenForm isMultiForms
sectionDyf : contains all dynForm definitions for any cplx inputs tplCtx : contains savable datasets initValues : contains any dyfinputs initial data answerObj : contains answer data for the current form
var configDynForm = session[‘costum’][‘dynForm’]); ?>;
var formInputs = ;
repaire @xxx.co
new form editor and interface save to forms
[-] if no Form ID found on element
[X] if forms exist by slug
[ ] if /form/idxxx then load given Form
[X] else generate Form::generateOpenForm( $el["slug"] )
[ ] check costum.form exists
[X] connect form to element costum.form
[-] add questions
new questions are added into the {{formTpl}}
[X] add input question
open dynform with slug, label, placeholder , info, position
[ ] add design options
[[https://getbootstrap.com/docs/4.0/components/forms/]]
[-] edit question
[X] open dynform for this input
[ ] be carefull !! shared and reused forms when edited have impacts for others
[ ] needs a collaborative editing process
[ ] minimal : notify other form admins
[ ] better : modification validation process
[ ] add tpl question
[X] array answers tpl builder > use dynform for each line
[X] delete a question
[X] build open forms dynamically
[X] add stepper
[X] order questions
[X] questions can be ordered by drag n drop
[ ] mode lecture if userId != user
[ ] add configs inside the edit panel and remove de config params stuff
[ ] first choose tplForm
[ ] open Config
[-] find a way to have cplx forms directly even without an existing answer
[X] btn particpate creates the answer entry
[X] open form directly
[ ] open and click on PARTICPATE btn
[X] all in one block serialize form default to costum.form.saveAllAtOnce
[X] one by one costum.form.saveOnInputBlur
** if form contains just one cplx input then all saves are made oneByone
tags [ ] reload answers seperataly
[-] reusible and tpls forms sections [X] author view pod [X] add element [X] create new element [X] limit to fixed number of elements [X] connect existing one [X] connect with the answer in an afterSave [X] multiple element block in page with different types [X] text [[~d/modules/costum/views/tpls/forms/text.php]] [X] select [[~d/modules/costum/views/tpls/forms/select.php]] * TODO : dynform add key value question for list / or value list [X] tags [[~d/modules/costum/views/tpls/forms/text.php]] * BUG design * TODO : dynform add key value question for list / or value list [X] calendar :oneByone: SAve [[~d/modules/costum/views/tpls/forms/cplx/calendar.php]]
link + preview [ ] lists [ ] searchInvite [ ] formLocality [X] partner [[~d/modules/costum/views/tpls/forms/cplx/partner.php]] [X] budget previsionnel [[~d/modules/costum/views/tpls/forms/cplx/budgte.php]] [ ] ajouter un graph feature montrant l’evolution du budget [X] financement [[~d/modules/costum/views/tpls/forms/cplx/financement.php]] costum.form.params.financement.limitRoles = "Financer" costum.form.params.financement.tpl = tpls.forms.equibudget [[~d/modules/costum/views/tpls/forms/cplx/equibudget.php]] [X] indicators [[~d/modules/costum/views/tpls/forms/cplx/indicateurs.php]]
edit answers [X] delete answer [X] show answers [X] table [ ] reveal ppt [ ] export CSV [ ] export JSON [ ] statistics [ ] admin has to set Ă crtieria et a graph type
export answers multi format
connected to CO elements
Description upload document d’information
[ ] todo add vote feature
bookmarking veille
[ ] ex : list of urls classified by tags
[ ] add link and publish to chat or journal
onelink > many publish process
add different publish processes like
one post push to many
benchmarking
[ ] compare collectively what things do what
who
said what
a template is defined by a json map to build it's content
the json map corresponds to a openForm
[X] use element.costum.cms map to define template block .editBtn
element.costum.cms.title
element.costum.cms.subtitle
element.costum.cms.wizard1
element.costum.cms.text1
[X] show template using default data
[X] open Edit form
[X] show template using element data
uses the template open Form but with answers to allow many proposals
create a slide html
each section is editble as a proposal editBtn
everyone proposes content, answers can be viewed in the template
and everyone can vot<e their favorite proposal , appart for theirs
[ ] using open Forms like editBtn for saving conect here
<a href="/costum/co/config/slug/<?php echo $slug ?>" class="btn btn-danger"><i class="fa fa-pencil"></i> here </a>
[ ] show template using answers data
[ ] add content manuelly or copy paste
[ ] columns can be sum and simple excel macros ,or predefined complex macros
- previsionel dynamic
- liste d'achat
[ ] ex ask where do you live
[ ] ex who particpates
show the best place to meet
proposals with check boxes [ ] calculate best result
[ ] community
[ ] page
what is it
who's is in it
what do you do
[ ] filiere
qui inviterais tu Ă la filiere
fait une proposition (orjet, ressouce, action) Ă la filiere
* fork
[ ] costum
- instead of adding questions add sections
- each seaction has config form
[[https://mail.google.com/mail/u/0/#inbox/FMfcgxwGDDrvJHWGNHKbPsNJCnGhxcpj]]
[ ] wizard stepper for 4 steps
[ ] seperate open Forms for each steps
[ ] ajax load each step on demand
[ ] save to proper location answer.wizard.0.idxxx
voir avec Etienne
une france connectĂ©,bien evidemment dont on ne profite pas mais qui agit interactivement, qui peut rĂ©pondre quasi instantanĂ©ment ou en asynchrone aux questions des uns et des autres ex : etes vous malade ? Les questions passe par des process de publication si ca vient du citoyen, de la collectivitĂ© et peuvent meme etre rejeter par les participants C’est un peu le retour de l’idĂ©e de la Cozette initiale mais grandeur natianal qui peut bien sur s’appliquer par niveau geographqiue , regional, agglo, communale … Ma Region Ma commune ou par thĂ©matique , ca rejoint la vision smarterre Ma santĂ© Mon ocĂ©an Mon Co
:::danger TOOOODDDOOOOOOOO :::
http://127.0.0.1/survey/form/schema/id/ctenatForm
http://127.0.0.1/costum/co/index/slug/dealAH#answer.index.id.5eb1ba7b539f22b5738b4569.mode.r
http://127.0.0.1/costum/co/index/slug/dealAH#answer.index.id.5eb1ba7b539f22b5738b4569.mode.r
http://127.0.0.1/costum/co/index/slug/dealAH#answer.index.id.5eb1ba7b539f22b5738b4569.mode.w
http://127.0.0.1/costum/co/index/slug/dealAH#dashboard
documentation [[~d/modules/costum/views/tpls/forms/README.md]] [ ] schema [[https://docs.google.com/presentation/d/1jwi3pYEzL_r8IH1AEpzlJe4jTt2kG7BZS5Hyq1kZHeE/edit#slide=id.p]]
costum.form.hasStepValidations : answer step active le bon stepper
on the answer step attrib gives
hasOpenForm isMultiForms
sectionDyf : contains all dynForm definitions for any cplx inputs tplCtx : contains savable datasets initValues : contains any dyfinputs initial data answerObj : contains answer data for the current form
var configDynForm = session[‘costum’][‘dynForm’]); ?>;
var formInputs = ;
repaire @xxx.co
new form editor and interface save to forms
[-] if no Form ID found on element
[X] if forms exist by slug
[ ] if /form/idxxx then load given Form
[X] else generate Form::generateOpenForm( $el["slug"] )
[ ] check costum.form exists
[X] connect form to element costum.form
[-] add questions
new questions are added into the {{formTpl}}
[X] add input question
open dynform with slug, label, placeholder , info, position
[ ] add design options
[[https://getbootstrap.com/docs/4.0/components/forms/]]
[-] edit question
[X] open dynform for this input
[ ] be carefull !! shared and reused forms when edited have impacts for others
[ ] needs a collaborative editing process
[ ] minimal : notify other form admins
[ ] better : modification validation process
[ ] add tpl question
[X] array answers tpl builder > use dynform for each line
[X] delete a question
[X] build open forms dynamically
[X] add stepper
[X] order questions
[X] questions can be ordered by drag n drop
[ ] mode lecture if userId != user
[ ] add configs inside the edit panel and remove de config params stuff
[ ] first choose tplForm
[ ] open Config
[-] find a way to have cplx forms directly even without an existing answer
[X] btn particpate creates the answer entry
[X] open form directly
[ ] open and click on PARTICPATE btn
[X] all in one block serialize form default to costum.form.saveAllAtOnce
[X] one by one costum.form.saveOnInputBlur
** if form contains just one cplx input then all saves are made oneByone
tags [ ] reload answers seperataly
[-] reusible and tpls forms sections [X] author view pod [X] add element [X] create new element [X] limit to fixed number of elements [X] connect existing one [X] connect with the answer in an afterSave [X] multiple element block in page with different types [X] text [[~d/modules/costum/views/tpls/forms/text.php]] [X] select [[~d/modules/costum/views/tpls/forms/select.php]] * TODO : dynform add key value question for list / or value list [X] tags [[~d/modules/costum/views/tpls/forms/text.php]] * BUG design * TODO : dynform add key value question for list / or value list [X] calendar :oneByone: SAve [[~d/modules/costum/views/tpls/forms/cplx/calendar.php]]
link + preview [ ] lists [ ] searchInvite [ ] formLocality [X] partner [[~d/modules/costum/views/tpls/forms/cplx/partner.php]] [X] budget previsionnel [[~d/modules/costum/views/tpls/forms/cplx/budgte.php]] [ ] ajouter un graph feature montrant l’evolution du budget [X] financement [[~d/modules/costum/views/tpls/forms/cplx/financement.php]] costum.form.params.financement.limitRoles = "Financer" costum.form.params.financement.tpl = tpls.forms.equibudget [[~d/modules/costum/views/tpls/forms/cplx/equibudget.php]] [X] indicators [[~d/modules/costum/views/tpls/forms/cplx/indicateurs.php]]
edit answers [X] delete answer [X] show answers [X] table [ ] reveal ppt [ ] export CSV [ ] export JSON [ ] statistics [ ] admin has to set Ă crtieria et a graph type
export answers multi format
connected to CO elements
Description upload document d’information
[ ] todo add vote feature
bookmarking veille
[ ] ex : list of urls classified by tags
[ ] add link and publish to chat or journal
onelink > many publish process
add different publish processes like
one post push to many
benchmarking
[ ] compare collectively what things do what
who
said what
a template is defined by a json map to build it's content
the json map corresponds to a openForm
[X] use element.costum.cms map to define template block .editBtn
element.costum.cms.title
element.costum.cms.subtitle
element.costum.cms.wizard1
element.costum.cms.text1
[X] show template using default data
[X] open Edit form
[X] show template using element data
uses the template open Form but with answers to allow many proposals
create a slide html
each section is editble as a proposal editBtn
everyone proposes content, answers can be viewed in the template
and everyone can vot<e their favorite proposal , appart for theirs
[ ] using open Forms like editBtn for saving conect here
<a href="/costum/co/config/slug/<?php echo $slug ?>" class="btn btn-danger"><i class="fa fa-pencil"></i> here </a>
[ ] show template using answers data
[ ] add content manuelly or copy paste
[ ] columns can be sum and simple excel macros ,or predefined complex macros
- previsionel dynamic
- liste d'achat
[ ] ex ask where do you live
[ ] ex who particpates
show the best place to meet
proposals with check boxes [ ] calculate best result
[ ] community
[ ] page
what is it
who's is in it
what do you do
[ ] filiere
qui inviterais tu Ă la filiere
fait une proposition (orjet, ressouce, action) Ă la filiere
* fork
[ ] costum
- instead of adding questions add sections
- each seaction has config form
[[https://mail.google.com/mail/u/0/#inbox/FMfcgxwGDDrvJHWGNHKbPsNJCnGhxcpj]]
[ ] wizard stepper for 4 steps
[ ] seperate open Forms for each steps
[ ] ajax load each step on demand
[ ] save to proper location answer.wizard.0.idxxx
voir avec Etienne
une france connectĂ©,bien evidemment dont on ne profite pas mais qui agit interactivement, qui peut rĂ©pondre quasi instantanĂ©ment ou en asynchrone aux questions des uns et des autres ex : etes vous malade ? Les questions passe par des process de publication si ca vient du citoyen, de la collectivitĂ© et peuvent meme etre rejeter par les participants C’est un peu le retour de l’idĂ©e de la Cozette initiale mais grandeur natianal qui peut bien sur s’appliquer par niveau geographqiue , regional, agglo, communale … Ma Region Ma commune ou part thĂ©matique , ca rejoint la vision smarterre Ma santĂ© Mon ocĂ©an Mon Co
Rendering context...