Last active
March 26, 2018 02:11
-
-
Save hawkidoki/e68d1523248baa310e4c3ce5b4499386 to your computer and use it in GitHub Desktop.
Article: https://hwk.fr/blog/acf-creer-un-formulaire-de-connexion-inscription-en-ajax-grace-acf-form
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[ | |
{ | |
"key": "group_5aacfcf20773c", | |
"title": "Connexion", | |
"fields": [ | |
{ | |
"key": "field_5aacfcf6b09b7", | |
"label": "Login", | |
"name": "login", | |
"type": "text", | |
"instructions": "", | |
"required": 1, | |
"conditional_logic": 0, | |
"wrapper": { | |
"width": "", | |
"class": "", | |
"id": "" | |
}, | |
"default_value": "", | |
"placeholder": "", | |
"prepend": "", | |
"append": "", | |
"maxlength": "" | |
}, | |
{ | |
"key": "field_5aacfcfab09b8", | |
"label": "Mot de passe", | |
"name": "password", | |
"type": "password", | |
"instructions": "", | |
"required": 1, | |
"conditional_logic": 0, | |
"wrapper": { | |
"width": "", | |
"class": "", | |
"id": "" | |
}, | |
"placeholder": "", | |
"prepend": "", | |
"append": "" | |
}, | |
{ | |
"key": "field_5aad09a7709cf", | |
"label": "", | |
"name": "remember_me", | |
"type": "checkbox", | |
"instructions": "", | |
"required": 0, | |
"conditional_logic": 0, | |
"wrapper": { | |
"width": "", | |
"class": "", | |
"id": "" | |
}, | |
"choices": { | |
"remember": "Se souvenir de moi" | |
}, | |
"allow_custom": 0, | |
"save_custom": 0, | |
"default_value": [], | |
"layout": "vertical", | |
"toggle": 0, | |
"return_format": "value" | |
} | |
], | |
"location": [ | |
[ | |
{ | |
"param": "post_type", | |
"operator": "==", | |
"value": "post" | |
} | |
] | |
], | |
"menu_order": 0, | |
"position": "normal", | |
"style": "default", | |
"label_placement": "top", | |
"instruction_placement": "label", | |
"hide_on_screen": "", | |
"active": 0, | |
"description": "" | |
}, | |
{ | |
"key": "group_5aad075a71d99", | |
"title": "Inscription", | |
"fields": [ | |
{ | |
"key": "field_5aad075eb9582", | |
"label": "Login", | |
"name": "login", | |
"type": "text", | |
"instructions": "", | |
"required": 1, | |
"conditional_logic": 0, | |
"wrapper": { | |
"width": "", | |
"class": "", | |
"id": "" | |
}, | |
"default_value": "", | |
"placeholder": "", | |
"prepend": "", | |
"append": "", | |
"maxlength": "" | |
}, | |
{ | |
"key": "field_5aad077bb9585", | |
"label": "E-mail", | |
"name": "email", | |
"type": "email", | |
"instructions": "", | |
"required": 1, | |
"conditional_logic": 0, | |
"wrapper": { | |
"width": "", | |
"class": "", | |
"id": "" | |
}, | |
"default_value": "", | |
"placeholder": "", | |
"prepend": "", | |
"append": "" | |
}, | |
{ | |
"key": "field_5aad0764b9583", | |
"label": "Mot de passe", | |
"name": "password", | |
"type": "password", | |
"instructions": "", | |
"required": 1, | |
"conditional_logic": 0, | |
"wrapper": { | |
"width": "", | |
"class": "", | |
"id": "" | |
}, | |
"placeholder": "", | |
"prepend": "", | |
"append": "" | |
}, | |
{ | |
"key": "field_5aad076bb9584", | |
"label": "Mot de passe (vérification)", | |
"name": "password_check", | |
"type": "password", | |
"instructions": "", | |
"required": 1, | |
"conditional_logic": 0, | |
"wrapper": { | |
"width": "", | |
"class": "", | |
"id": "" | |
}, | |
"placeholder": "", | |
"prepend": "", | |
"append": "" | |
}, | |
{ | |
"key": "field_5aae3805b6f0a", | |
"label": "Commentaire", | |
"name": "commentaire", | |
"type": "text", | |
"instructions": "", | |
"required": 0, | |
"conditional_logic": 0, | |
"wrapper": { | |
"width": "", | |
"class": "", | |
"id": "" | |
}, | |
"default_value": "", | |
"placeholder": "", | |
"prepend": "", | |
"append": "", | |
"maxlength": "" | |
} | |
], | |
"location": [ | |
[ | |
{ | |
"param": "post_type", | |
"operator": "==", | |
"value": "post" | |
} | |
] | |
], | |
"menu_order": 0, | |
"position": "normal", | |
"style": "default", | |
"label_placement": "top", | |
"instruction_placement": "label", | |
"hide_on_screen": "", | |
"active": 0, | |
"description": "" | |
}, | |
{ | |
"key": "group_5aae5c75b6643", | |
"title": "Menu", | |
"fields": [ | |
{ | |
"key": "field_5aae5c8599bf7", | |
"label": "Utilisateur identifié: Afficher", | |
"name": "logged_in", | |
"type": "true_false", | |
"instructions": "", | |
"required": 0, | |
"conditional_logic": 0, | |
"wrapper": { | |
"width": "", | |
"class": "", | |
"id": "" | |
}, | |
"message": "", | |
"default_value": 0, | |
"ui": 1, | |
"ui_on_text": "", | |
"ui_off_text": "" | |
}, | |
{ | |
"key": "field_5aae5dfb965be", | |
"label": "Utilisateur identifié: Masquer", | |
"name": "logged_out", | |
"type": "true_false", | |
"instructions": "", | |
"required": 0, | |
"conditional_logic": 0, | |
"wrapper": { | |
"width": "", | |
"class": "", | |
"id": "" | |
}, | |
"message": "", | |
"default_value": 0, | |
"ui": 1, | |
"ui_on_text": "", | |
"ui_off_text": "" | |
} | |
], | |
"location": [ | |
[ | |
{ | |
"param": "nav_menu_item", | |
"operator": "==", | |
"value": "all" | |
} | |
] | |
], | |
"menu_order": 0, | |
"position": "normal", | |
"style": "default", | |
"label_placement": "top", | |
"instruction_placement": "label", | |
"hide_on_screen": "", | |
"active": 1, | |
"description": "" | |
}, | |
{ | |
"key": "group_5aae5f2c5cb17", | |
"title": "Mon compte", | |
"fields": [ | |
{ | |
"key": "field_5aae5f2c65f45", | |
"label": "E-mail", | |
"name": "email", | |
"type": "email", | |
"instructions": "", | |
"required": 0, | |
"conditional_logic": 0, | |
"wrapper": { | |
"width": "", | |
"class": "", | |
"id": "" | |
}, | |
"default_value": "", | |
"placeholder": "", | |
"prepend": "", | |
"append": "" | |
}, | |
{ | |
"key": "field_5aae5f2c69b80", | |
"label": "Nouveau mot de passe", | |
"name": "password", | |
"type": "password", | |
"instructions": "", | |
"required": 0, | |
"conditional_logic": 0, | |
"wrapper": { | |
"width": "", | |
"class": "", | |
"id": "" | |
}, | |
"placeholder": "", | |
"prepend": "", | |
"append": "" | |
}, | |
{ | |
"key": "field_5aae5f2c6d7fe", | |
"label": "Nouveau mot de passe (vérification)", | |
"name": "password_check", | |
"type": "password", | |
"instructions": "", | |
"required": 0, | |
"conditional_logic": 0, | |
"wrapper": { | |
"width": "", | |
"class": "", | |
"id": "" | |
}, | |
"placeholder": "", | |
"prepend": "", | |
"append": "" | |
}, | |
{ | |
"key": "field_5aae5f2c714c2", | |
"label": "Commentaire", | |
"name": "commentaire", | |
"type": "text", | |
"instructions": "", | |
"required": 0, | |
"conditional_logic": 0, | |
"wrapper": { | |
"width": "", | |
"class": "", | |
"id": "" | |
}, | |
"default_value": "", | |
"placeholder": "", | |
"prepend": "", | |
"append": "", | |
"maxlength": "" | |
} | |
], | |
"location": [ | |
[ | |
{ | |
"param": "post_type", | |
"operator": "==", | |
"value": "post" | |
} | |
] | |
], | |
"menu_order": 0, | |
"position": "normal", | |
"style": "default", | |
"label_placement": "top", | |
"instruction_placement": "label", | |
"hide_on_screen": "", | |
"active": 0, | |
"description": "" | |
}, | |
{ | |
"key": "group_5aad44c611c03", | |
"title": "Mot de passe oublié", | |
"fields": [ | |
{ | |
"key": "field_5aad44cca5b6b", | |
"label": "Adresse e-mail", | |
"name": "email", | |
"type": "email", | |
"instructions": "", | |
"required": 0, | |
"conditional_logic": 0, | |
"wrapper": { | |
"width": "", | |
"class": "", | |
"id": "" | |
}, | |
"default_value": "", | |
"placeholder": "", | |
"prepend": "", | |
"append": "" | |
} | |
], | |
"location": [ | |
[ | |
{ | |
"param": "post_type", | |
"operator": "==", | |
"value": "post" | |
} | |
] | |
], | |
"menu_order": 0, | |
"position": "normal", | |
"style": "default", | |
"label_placement": "top", | |
"instruction_placement": "label", | |
"hide_on_screen": "", | |
"active": 0, | |
"description": "" | |
}, | |
{ | |
"key": "group_5aae37d11ddf3", | |
"title": "Utilisateur", | |
"fields": [ | |
{ | |
"key": "field_5aae37d5a5735", | |
"label": "Commentaire", | |
"name": "commentaire", | |
"type": "text", | |
"instructions": "", | |
"required": 0, | |
"conditional_logic": 0, | |
"wrapper": { | |
"width": "", | |
"class": "", | |
"id": "" | |
}, | |
"default_value": "", | |
"placeholder": "", | |
"prepend": "", | |
"append": "", | |
"maxlength": "" | |
} | |
], | |
"location": [ | |
[ | |
{ | |
"param": "user_form", | |
"operator": "==", | |
"value": "all" | |
} | |
] | |
], | |
"menu_order": 0, | |
"position": "normal", | |
"style": "default", | |
"label_placement": "top", | |
"instruction_placement": "label", | |
"hide_on_screen": "", | |
"active": 1, | |
"description": "" | |
} | |
] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment