Send the form data to the PAFE Form telegram.
The selected data must be in the telegram.
Test site can be accessed.The bot is also tested (from another site, with the original form of the ELEMENTER everything comes)
I listen to the proposals thanks.
add_action( 'elementor_pro/forms/new_record', function( $record, $handler ) {
$bot_token = "5911696913:AAFGa49b1K5jAPWN9gnPSbeybANSDIZgAe8"; // Put your bot's token between the boots
$chat_id = "-870641174"; // Enter the chat ID between the boxes to which requests should come and don't forget the minus
$form_name = $record->get_form_settings( 'form_name' ); // Take the form name from the form settings and write it into the $form_name variable
$raw_fields = $record->get( 'fields' );
$arr = array ( )
$txt = $form_name"%0A"; // Extract the data from the variable $form_name in the form headline
Foreach ( $raw_fields as $id => $field ) {
$txt .= “.$field [‘title’]“ →“$field” and “value”“%0A”The
fopen("https://api.telegram.org/bot{$bot_token}/sendMessage?chat_id={$chat_id}&parse_mode=html&text={$txt}&disable_web_page_preview=true","r"); // Opens a link to which the required text goes in the telegram
of 10, 2 );
This decision could be applied on another website.
Желательно все реализовать через Code Snipets
Чтобы данное решение можно было применить на другом сайте
Client's review of cooperation with freelancer
Send the form data to the PAFE Form telegram.The deadlines were hard. But, I thought that to perform the task you will write just the code, which will constantly need to copy, but I made A WORK PLAGIN with the interface. This is a big plus.
It was not a standard decision to fulfill the task, but it was fulfilled.
thank you
Freelancer's review of cooperation with Yevhen Demidov
Send the form data to the PAFE Form telegram.Everything went greatly. T is clearly provided. They were always in contact. I advise for cooperation
![]()
Current freelance projects in the category PHP
Fix CLSIt is necessary to fix the Cumulative Layout Shift through code PageSpeed does not see this problem, but through Google Chrome, it is visible that there is a layout shift for the desktop version of the page According to Google Search, there is an error regarding the speed of… PHP, Web Programming ∙ 2 hours 22 minutes back ∙ 16 proposals |
Transfer the fully ready adaptive HTML5 structure to WordPress.
268 USD
I am looking for an experienced WordPress developer who can convert our meticulously prepared static HTML5/CSS3 code into a high-performance custom WordPress theme. The frontend is almost ready (about 99%): semantic markup, metadata, and multilingual structure (hreflang) are… Content Management Systems, PHP ∙ 5 hours 15 minutes back ∙ 43 proposals |
GoPos IntegrationHello, has anyone done an integration of GoPos with a custom website for a restaurant in Poland? I need help, their documentation is very sparse, there is only swagger and it lacks descriptions. https://app.gopos.io/doc/swagger-ui/index.html The essence is this: we used their… PHP, Web Programming ∙ 21 hours 9 minutes back ∙ 21 proposals |
Write meta data for ALT using AIA website on Laravel, the site has many images for which it is necessary to automatically generate correct semantic and relevant ALT descriptions for the images, with the possibility of verification. AI & Machine Learning, PHP ∙ 1 day 18 hours back ∙ 33 proposals |
A developer is needed to complete and integrate a project for automatic data collection and processing.
16 USD
The main part of the parser has already been implemented. The parser works in a Windows environment through Microsoft Edge: the site has anti-bot protection, so data collection is performed not through direct HTTP requests, but through a live browser session. The scripts control… PHP, Web Programming ∙ 2 days back ∙ 24 proposals |