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 / Disable text input on ...
Power Apps
Unanswered

Disable text input on a field once it has a value

(1) ShareShare
ReportReport
Posted on by 10

Hi,

 

I've been scratching my head on this and not getting very far. Sounds simple, but something is missing...

 

I have a canvas app with a form based on a SharePoint list. One of the fields is a multiline text field. I would like to disable any further text input into this (begins life blank) field once, either 1) the form is saved and the source record now contains data, or 2) once the user has entered their data.

 

I've tried option 2 using If(IsBlank(DataCardValue7.Value),DisplayMode.Edit, DisplayMode.Disabled) but this disables the field as the user is typing.

I've seen many examples of using DataCardValue7.text but this multiline text field does not have that property.

 

Maybe option 1 is the best but not quite sure how to get it working.

 

Any other ideas out there?

 

Cheers!

Categories:
I have the same question (0)
  • mmbr1606 Profile Picture
    14,629 Super User 2026 Season 1 on at

    hey @crawoo 

     

    you can try this onsuccess of form:

     

    OnSuccess of Form:
    Set(varDataSaved, true)
    

     

     

    and this in the displaymode of textbox:

     

    DisplayMode Property of Text Input:
    If(varDataSaved && !IsBlank(DataCardValue7.Text), DisplayMode.Disabled, DisplayMode.Edit)
    

     

    Let me know if my answer helped solving your issue.

    If it did please accept as solution and give it a thumbs up so we can help others in the community.



    Greetings

  • crawoo Profile Picture
    10 on at

    Hi @mmbr1606 ,

     

    This is similar to what I have seen suggested. In my post I did say that datacardvalue7.Text is not an option. 

    crawoo_0-1720530276613.png

    datacardvalue7 does have a 'Value' property, which I have tried, but does not disable the field.

     

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 993

#2
Valantis Profile Picture

Valantis 675

#3
11manish Profile Picture

11manish 545

Last 30 days Overall leaderboard