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 / Autofill from three fi...
Power Apps
Answered

Autofill from three fields

(0) ShareShare
ReportReport
Posted on by

I have a powerapp where I have a form in which users input 'Nord',  'Øst' (numeric) and 'kvadrant' (text). I want to have these values to be automatically filled in a fourth field in the same form. The string in should look like this: 100x100yNV

Currently my form looks like this:

ErikKjellman_0-1629981792057.png

 

I can't use currentsubmittedrecords for the fields as they are not yet submitted. But I think I might be able to use some form of variable setup, but I am not sure how well it will work as I already have a formula for currentsubmittedrecord in Nord and Øst. In Kvadrant I already have a variable set, so that could be reused. If I could figure out some way of storing the Nord and East as variables, as well as them being set to currentsubmittedrecord, I could put Defaultvalue for Lokal rutekoordinat to NordVar&ØstVar&KvadrantVar.

 

I tried this in default value for Nord

Set(NordVar; CurrentSubmittedRecord.Nord)

 

This produced an errormessage (in norwaegian) that roughly translates to: "behavior function in a non-behavior-property. You cannot use this property to change values other places in the app".

Categories:
I have the same question (0)
  • Verified answer
    RandyHayes Profile Picture
    76,299 Super User 2024 Season 1 on at

    @ErikKjellman 

    No need for a variable...if your form has the values in it that you want, you simply need to reference those values.

    Ex.  For a label text property:

        DataCardValueForØst.Text & "x" & DataCardValueForkvadrant.Text & "yNV"

    This will produce a label with "100x100yNV" in it as per your post.

     

    I hope this is helpful for you.

  • CU12090750-0 Profile Picture
    on at

    That did the trick! I think I just overcomplicated things, trying all sorts of concatenate and other formulas..

     

    Thank you!

  • RandyHayes Profile Picture
    76,299 Super User 2024 Season 1 on at

    @ErikKjellman 

    It happens!  Number one rule of PowerApps...Keep It Super Simple!  You're not developing, you're designing.

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 March Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 476

#2
WarrenBelz Profile Picture

WarrenBelz 365 Most Valuable Professional

#3
Vish WR Profile Picture

Vish WR 339

Last 30 days Overall leaderboard