Skip to main content
Skip to search
Skip to footer
Ouvrir le panneau de gestion des cookies
Site Standard BM
Home
Accueil 2
Glossaire
Les formulaires
Test webform
Les articles
Langue et ckeditor
Menu de niveau 3
Timeline page
Menu de niveau 3 avec sous niveaux
Menu de niveau 4 avec sous niveaux
Test Image copie webp
Better Social Share
Les paragraphes
De base
Avec Bootstrap5
Log in
Actualités
Services
Événements
Lieux
Search
Home
Administration
Structure
Webforms
test. webform
Emails / Handlers
Add Remote post handler
General
Conditions
Advanced
Posts webform submissions to a URL.
General settings
Title
Machine-readable name
?
A unique name for this handler instance. Must be alpha-numeric and underscore separated.
Administrative notes
?
Entered text will be displayed on the handlers administrative page and replace this handler's default description.
Completed
?
Post data when submission is completed.
Completed URL
?
The full URL to POST to when an existing webform submission is completed. (e.g. https://www.mycrm.com/form_completed_handler.php)
Completed custom data
?
Enter custom data that will be included when a webform submission is completed.
Information message
Response data can be passed to the submission data using [webform:handler:{machine_name}:{state}:{key}] tokens. (i.e. [webform:handler:remote_post:completed:confirmation_number])
Updated
?
Post data when submission is updated.
Updated URL
?
The full URL to POST to when an existing webform submission is updated. (e.g. https://www.mycrm.com/form_updated_handler.php)
Updated custom data
?
Enter custom data that will be included when a webform submission is updated.
Deleted
?
Post data when submission is deleted.
Deleted URL
?
The full URL to POST to when an existing webform submission is deleted. (e.g. https://www.mycrm.com/form_deleted_handler.php)
Deleted custom data
?
Enter custom data that will be included when a webform submission is deleted.
Submission data
Warning message
×
Upload files will include the file's id, name, uri, and data (
Base64
encode).
Warning message
×
Upload files will include the file's id, name and uri.
Posted data
Title
Name
Date type/Element type
Serial number
Serial number
serial
integer
Submission ID
Submission ID
sid
integer
Submission UUID
Submission UUID
uuid
uuid
Token
Token
token
string
Submission URI
Submission URI
uri
string
Created
Created
created
created
Completed
Completed
completed
timestamp
Changed
Changed
changed
changed
Is draft
Is draft
in_draft
boolean
Current page
Current page
current_page
string
Remote IP address
Remote IP address
remote_addr
string
Submitted by
Submitted by
uid
entity_reference
Language
Language
langcode
language
Webform
Webform
webform_id
entity_reference
Submitted to: Entity type
Submitted to: Entity type
entity_type
string
Submitted to: Entity ID
Submitted to: Entity ID
entity_id
string
Locked
Locked
locked
boolean
Sticky
Sticky
sticky
boolean
Notes
Notes
notes
string_long
Metatags (Hidden field for JSON support)
Metatags (Hidden field for JSON support)
metatag
metatag_computed
Nom
Nom
nom
textfield
prenom
prenom
prenom
textfield
Age
Age
age
number
Profil
Profil
profil
textarea
Description de vie
Description de vie
description_de_vie
textarea
Metier
Metier
metier
webform_select_other
Fichier 1 (illimité)
Fichier 1 (illimité)
fichier_1_illimite
webform_document_file
Fichier 2
Fichier 2
fichier_2
webform_document_file
Conditional logic
State
Element
Trigger/Value
Operations
State
- Select -
Enabled
Disabled
Operator
if
All
Any
One
of the following is met:
Selector
- Select -
Nom [Text field]
prenom [Text field]
Age [Number]
Profil [Textarea]
Description de vie [Textarea]
Metier [Select]
Metier [Other field]
Fichier 1 (illimité) [Document file]
Fichier 2 [Document file]
Trigger
- Select -
Empty
Filled
Checked
Unchecked
Value is
Value is not
Pattern
Not Pattern
Less than
Less than/Equal to
Greater than
Greater than/Equal to
Between
Not between
Value
Enter a number range (1:100)
Advanced settings
Enable the
Remote post
handler.
Additional settings
Method
?
POST
PUT
PATCH
GET
The POST request method requests that a web server accept the data enclosed in the body of the request message. It is often used when uploading a file or when submitting a completed webform. In contrast, the HTTP GET request method retrieves information from the server.
Post type
?
x-www-form-urlencoded
JSON
Use x-www-form-urlencoded if unsure, as it is the default format for HTML webforms. You also have the option to post data in JSON format.
Include files as Base64 encoded post data
?
If checked, uploaded and attached file data will be included using Base64 encoding.
Cast posted element value and custom data
?
If checked, posted element values will be cast to integers, floats, and booleans as needed. Custom data can be cast by placing the desired type in parentheses before the value or token. (i.e. "(int) [webform_submission:value:total]" or "(int) 100")For custom data, the casts allowed are:(int), (integer) - cast to integer(float), (double), (real) - cast to float(bool), (boolean) - cast to boolean
Custom data
?
Enter custom data that will be included in all remote post requests.
Custom options
?
Enter custom request options that will be used by the Guzzle HTTP client. Request options can include custom headers.
Custom error response message
?
Custom error response message
This field has been disabled because you do not have sufficient permissions to edit it.
This message is displayed when the response status code is not 2xx.Defaults to: Unable to process this submission. Please contact the site administrator.
Information message
Response data can be passed to response message using [webform:handler:{machine_name}:{key}] tokens. (i.e. [webform:handler:remote_post:message])
Custom response messages
?
Information message
No error response messages entered. Please add messages below.
Add more items
more items
Enter custom response messages for specific status codes.
Custom error response redirect URL
?
The URL or path to redirect to when a remote fails.
Development settings
Enable debugging
?
If checked, posted submissions will be displayed onscreen to all users.
Browse available tokens.