web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Clean up text before s...
Power Apps
Answered

Clean up text before sending data with patch

(0) ShareShare
ReportReport
Posted on by 49

Hi everyone,

I'm trying to clean up the data that is entered in various fields of my form: The part about creating the Descrip_Text variable doesn't give any errors. The error occurs when I want to include the variable in the patch Where's the error?

 

Set(Descrip_Text; Substitute( Substitute( Substitute (input_descripcion.Text; Char(10); ""); Char(13); ""); " "; " ");;

Patch(
registro_incidencias_pruebas;
Defaults(registro_incidencias_pruebas);
{

Desc_Incidencia: Descrip_Text;


});;

Categories:
I have the same question (0)
  • timl Profile Picture
    37,154 Super User 2026 Season 1 on at

    Hi @EvaSantos 

    Can you post the error message that you're seeing or post a screenshot?

  • Verified answer
    EvaSantos Profile Picture
    49 on at

    Sorry, I found the glitch. I was missing a parenthesis:

     Set(Descrip_Text; Substitute( Substitute( Substitute (input_descripcion.Text; Char(10); ""); Char(13); ""); " "; " "));;

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the April Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
Vish WR Profile Picture

Vish WR 839

#2
Valantis Profile Picture

Valantis 533

#3
Haque Profile Picture

Haque 412

Last 30 days Overall leaderboard