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

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Behavior Function in a...
Power Apps
Answered

Behavior Function in a non-behavior property. Error

(0) ShareShare
ReportReport
Posted on by 395
I am wanting to change the value of a text Value but I keep getting this error messages:
1)Behavior Function in a non-behavior property. You can't use this property to change values elsewhere in the app
2)Unexpected characters. The formula contains 'Control' where 'Indent' is expected. 
 
 
Is there something i am missing or is there another way to do this. 
Categories:
I have the same question (0)
  • Verified answer
    NPPlatform Profile Picture
    606 Moderator on at
    The Set()-function is used to initialize and change global variables. This can not be done from within a 'Value' property. What do you exactly want the value to be? If you want it to be 6 if FormversonValue1 is blank then it would be:
     
    If(IsBlank(FormversonValue1),6,Parent.Default)
  • Trout19 Profile Picture
    395 on at
    You are the Bomb Dot Com. Thank You So Much
  • Nirav Raval (Akira28) Profile Picture
    153 Moderator on at
    Hi Trout19 ,

    Try to update the button behavior and value of text property with below step, it might help 

    1) Button (OnSelect)
         If(IsBlank(FormversionValue1), Set(FormversionValue1, 0))


    2) Lable (Text property)
        If(IsBlank(FormversionValue1), Parent.Default, FormversionValue1)


    If this post solved your issue, clicking 'Does this answer your question' will help others discover the solution and close the topic. If you found it helpful, a Like would be awesome!


    Regards,
    Nirav J Raval (Akira28)

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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 765 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 343 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 272

Last 30 days Overall leaderboard