Open Form Schema
élément �Type project
costum.slug�form.id
Costum
costumFormTpl�Costum.slug�Points to db.costum.id
Structure BDD
Réponse �Type : answers�Attribut : answers
Questionnaire �Db : forms
Type : openForm�Id : open
Views�freeform.php
costum
Open
Form�formbuilder.php�
Form
formTpl�Costum.form.id�Points to db.forms.id
Inputs�
calendar
text
select
submit
Admin
Dynform�Add quesitons
form.inputs
Admin
Dynform�Costum el.costum.cms��
Admin
Dynform
el.costum.form params
User
Dynform�Answer questions
answer.inputID
calendar
text
select
Results
answerList.php
answer2
answer1
answer3
Construction de la �liste de question
Personnaliser le costum chaque
Élément est éditable
Personnaliser le formulaire
Personnaliser le formulaire
Class editBtn
Class ".edit<?php echo $keyTpl ?>Params"
Class .addQuestion
Class .addQuestion
textIntro
title1
subtitle1
textIntro
textIntro
Data élément �Type project
costum.slug�form.id
"costum" : {
"slug" : "templateCostumDesTiersLieux",
"tpls" : {
"news" : {
"defaultcolor" : "white",
"tags" : "structags",
"nbPost" : "5"
},
"community-caroussel" : {
"title" : "",
"color" : "",
"background" : ""
}
}
}
"costum" : {
"colors" : {
"pink" : "#233234",
"dark" : "#436577"
},
"slug" : "freeform",
"form" : {
“id" : "openForm1",
"startDate" : "08-01-2020",
"canModifyAnswer" : true,
"canVote" : true,
"canFund" : true,
"showDate" : true,
"params" : {
"calendar" : {
"sectionTitles" :
["1er<br/>Sem<br/>2020","2ème<br/>Sem<br/>2020","1er<br/>Sem<br/>2021"],
"dateSections" : [
"01/01/2020","01/07/2020",”01/01/2021", "01/01/2023"]
},
"financement" : {
"tpl" : "tpls.forms.cplx.equibudget"
},
"elementelement1" : {
"type" : "projects",
"limit" : "4”
},
"elementelement2" : {
"type" : "organizations",
"limit" : "3"
}
}
},
"cms" : {
"title1" : "PIna colada des alternatives",
"subtitle1" : "Tout est possible si on y croit ",
"textIntro" : "c<wxc<wxc<wxc<wx"
}
}
"_id" : ObjectId("5e0d010dbf4d14b1f08dcaf7"),
"id" : "openForm1",
"type" : "openForm",
"name" : "just a form",
"inputs" : {
"element" : {
"label" : "L'auteur",
"placeholder" : "Auteur",
"type" : "tpls.pods.author",
"info" : "si tu ne sais pas ou tu vas, regarde d'ou tu viens"
},
"element1" : {
"label" : "Structure porteuse",
"type" : "tpls.forms.cplx.element",
"info" : "La simplicité est l'ultime sophistication Léonard de Vinci 1515"
},
"element2" : {
"label" : "Structures associées",
"type" : "tpls.forms.cplx.element",
"info" : "La simplicité est l'ultime sophistication Léonard de Vinci 1515"
},
"element3" : {
"label" : "Projet Déposé",
"type" : "tpls.forms.cplx.element",
"info" : "La simplicité est l'ultime sophistication Léonard de Vinci 1515"
},
Data Form
formTpl�costum.form.id
{
"_id" : ObjectId("5e0db794539f22ac1567c354"),
"formId" : "openForm1",
"user" : "5534fd9da1aa14201b0041cb",
“parentSlug" : "safranLaCapucine",
"created" : NumberLong(1577957268),
"answers" : {
"email" : "qfdfds fqd",
"talk" : "qf ds fqs",
"sure" : "on",
"chooki" : "#000000",
"openForm15" : "",
"openForm16" : "dq sd sqd qsd sqd",
"calendar" : {
"0" : {
"step" : " fqsdf sqdf qsdf ",
"startDate" : "10/01/2020",
"endDate" : "17/12/2020"
},
"1" : {
"step" : "f dsfqsdf qsdf",
"startDate" : "07/01/2020",
"endDate" : "23/02/2023"
}
},
"budget" : {
"0" : {
"nature" : "fonctionnement",
"poste" : "dep",
"amount2019" : "213324",
"amount2020" : "23432",
"amount2021" : "5454",
"amount2022" : "435543"
}
},
"calendaropenForm19" : {
"0" : {
"step" : "sdqdggfd",
"startDate" : "07/01/2020",
"endDate" : "28/07/2021"
},
"1" : {
"step" : "fq sdf qsdf",
"startDate" : "22/01/2020",
"endDate" : "29/01/2021"
}
},
Data Réponse �Type : answers�Attribut : answers
"partneropenForm111" : {
"0" : {
"qui" : "fqdsfsd",
"engagement" : "fqdsfqs",
"statut" : "acquis",
"next" : "dsfqsdfqds",
"role" : ["expertise", "financeur"]
},
"1" : {
“qui" : "fqsfdqsd",
"engagement" : "qsfdqdsf",
"statut" : "discussion",
"next" : "qsdfqsdf",
"role" : [ “financeur" ]
}
},
"budgetopenForm120" : {
"0" : {
"nature" : "fonctionnement",
"poste" : "qdsfsqdfds",
"amount2019" : "222",
"amount2020" : "4334343",
"amount2021" : "5454",
"amount2022" : "323232323"
},
"1" : {
"nature" : "fonctionnement",
"poste" : "gsfd gsd",
"amount2019" : "4342",
"amount2020" : "3232",
"amount2021" : "32424",
"amount2022" : "4565"
}
},
"financementopenForm121" : {
"0" : {
"financerType" : "ademe",
"financer" : "",
"title" : "fd fqsd fq",
"amount2019" : "4243",
"amount2020" : "23432",
"amount2021" : "432432",
"amount2022" : "4234"
},
"1" : {
"financerType" : "agenceLeau",
"financer" : "",
"title" : "f qds fqsdf",
"amount2019" : "3333333",
"amount2020" : "33333333",
"amount2021" : "3333333",
"amount2022" : "3333333"
}
},
"indicatorsopenForm122" : {
"0" : {
"indicateur" : "5dd10a8c6908641c508b45d9"
}
},
"elementelement1" : {
"0" : {
"type" : "organizations",
"id" : "5e15d4af539f221e65c93944",
"slug" : "karaokeKeKe"
},
"1" : {
"type" : "organizations",
"id" : "5e15d5a1539f221e65c93946",
"slug" : "krikeKrarke"
},
"3" : {
"type" : "organizations",
"id" : "57220f5040bb4e6b3896743b",
"slug" : "openFactory"
}
},
"elementelement3" : {
"0" : {
"type" : "projects",
"id" : "5e170169539f222628c9394b",
"slug" : "cosmotix"
}
}
},
"voteUp" : {
"5534fd9da1aa14201b0041cb" : {
"date" : ISODate("2020-01-03T06:19:09.000Z")
}
},
"updated" : NumberLong(1578075851),
"modified" : ISODate("2020-01-03T18:24:11.000Z"),
"voteUpCount" : NumberLong(1),
"fund" : {
"5534fd9da1aa14201b0041cb" : {
"detail" : {
"amount" : NumberLong(1040404)
},
"date" : ISODate("2020-01-03T18:24:11.000Z")
}
},
"fundCount" : NumberLong(5),
"1" : {
"step" : "sssssssssssssss",
"startDate" : "16/01/2020",
"endDate" : "20/11/2020"
}
}
6
Modelling User Story
Meet Our New App
Grouped
Local Regional Farmer
CONSOMMATEUR
Form
I have a product/qty
CONSOMMATEUR
CONSOMMATEUR
CONSUMER
Form by Locality and group
Pre-order
products / qty
Producer Delivery
At gpt
Internal Distribution
Internal order by consumer
Identifier�Producers
share production
grouped Order
Delivery Unique
Distribution�Retrieval
proximity
PRODUIT1
PRODUIT1
PRODUCTS
Order of the gpt to a producer
Need Help | Offer help
Production recipy & process�Value Flows
Ressource
Organization
Person
Agreement�Assigned
Event
Assigned
Local Regional Transformation
OFFER�SOMETHIHNG
COMMUNITY
INTENTs
ORDER
DELIVER
DISTRIBUTE
Form
I have a product/qty
Form
position Intent
Form
Send Order
Notification
Form
Pay Order
Form
Pay Production
Local Regional Farmer
Identifier�Producers
share production
grouped Order
Delivery Unique
Distribution�Retrieval
proximity
Ressource
Organization
Person
Agreement�Assigned
Event
Assigned
Local Regional Farmer
Local Regional Farmer
Grouped
Lieux distribution
Grouped
Lieux distribution
Grouped
Lieux distribution
Grouped
Lieux distribution
Local Regional Farmer
Local Regional Farmer
Local Regional Farmer
PRODUIT1
PRODUIT1
PRODUCTS
CHARTE
Local Regional Farmer
Local Regional Farmer
Local Regional Farmer
Local Regional Farmer
PRODUIT1
PRODUIT1
PRODUCTS
OBJECTIF