Personnaliser un champ

More
6 years 9 months ago #68317 by emmajla
Bonjour,

Merci pour le travail abattu pour nous offrir un CVthèque à partir de FLEXIcontent. ( com3elles.biz/jdays2017/images/pdf/cinnk-magazine-flexi.pdf )

je suis à la découverte de ce CVthèque et du CCK FLEXIcontent

à travers vos explications, je trouve que ce CCK est très puissant et qu'il fait des choses énormes

pour une personne comme moi qui a des limites dans la programmation, c'est vraiment un grand outil pour me permettre de faire certaines réalisations

voici ma question actuellement:

à supposer que dans le type "Candidature Libre", j'ai un champ : "numero_dossier",
c'est un champs caché à la saisie
mais je voudrais que lors de l'enregistrement d'une candidature libre, qu'un numéro soit (enregistré) donné automatiquement avec
la syntaxe suivant : Dos-Annee-Nombre_total_des_enregistrements_en_cette_annee_plus_un
exemple : Dos-2017-0001 pour le premier enregistrement de l'année 2017
et l'enregistrement suivant devra être Dos-2017-0002
puis Dos-2017-0003 pour le suivant
...
est-ce que FLEXIcontent peut le faire?
si oui, comment mettre cela en place ?

Merci d’avance


FRITZ JOSEPH EMMANUEL

Please Log in or Create an account to join the conversation.

More
6 years 9 months ago #68325 by ggppdk
Replied by ggppdk on topic Personnaliser un champ
Hello

if i understand you correctly from the translation:

you want
- the field the field to hidden (not appear in item form)
- and also to get an automatic value when form is saved ?


-- Flexicontent is Free but involves a big effort on our part.
Like the our support? (for a bug-free FC, despite having a long list of functions) Like the features? Like the ongoing development and future commitment to FLEXIcontent?
-- Add your voice to the FLEXIcontent JED listing with a 5-star...

Please Log in or Create an account to join the conversation.

More
6 years 9 months ago #68328 by emmajla
Replied by emmajla on topic Personnaliser un champ
Hello,
Yes, you understood me.
The value must be, prefix - the total number of records + 1

Please Log in or Create an account to join the conversation.

More
6 years 9 months ago #68344 by emmajla
Replied by emmajla on topic Personnaliser un champ
Hello,

I just discovered, from a field of type "text"
The possibility of :
- Hide the display of a field:
"Input form" tab "Hide in form" click on the "frontend" button

-select a prefix:
Tab "Prefix / Suffix" "Prefix for each value": I can determine the prefix

- enter a default value:
Edit tab, on the tab "Values" under "Create values" then "Default", then enter the default value

Can a PHP and Mysql script be entered in the default value field? So that it can read the number of records already entered and set this numerical value as the default value.

Please Log in or Create an account to join the conversation.

More
6 years 9 months ago #68376 by micker
Replied by micker on topic Personnaliser un champ
je pense que le meilleure moyen serait remplir le champs grace à du js mais c'est un developpement spécifique pas du core ...

FLEXIcontent is Free but involves a very big effort on our part.
Like the our support? (for a bug-free FC, despite being huge extension) Like the features? Like the ongoing development and future commitment to FLEXIcontent?
-- Add your voice to the FLEXIcontent JED listing reviews. Thanks![/size]

Please Log in or Create an account to join the conversation.

More
6 years 9 months ago #68379 by emmajla
Replied by emmajla on topic Personnaliser un champ
Bonjour,

Micker, merci pour ta réponse

je ne comprends plus la suite?

Please Log in or Create an account to join the conversation.

Moderators: vistamediajoomlacornerggppdk
Time to create page: 0.288 seconds
Save
Cookies user preferences
We use cookies to ensure you to get the best experience on our website. If you decline the use of cookies, this website may not function as expected.
Accept all
Decline all
Essential
These cookies are needed to make the website work correctly. You can not disable them.
Display
Accept
Analytics
Tools used to analyze the data to measure the effectiveness of a website and to understand how it works.
Google Analytics
Accept
Decline