cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Regular Visitor

Is it possible to populate Title field with Choice, Date and/or Person fields?

Hello, I am new to Power Apps. I am using with a SharePoint list,  and want my title field to populate from other data on my form. I've seen a reference in this forum, but it is for single line text boxes. My form does not contain single line text boxes. For example:

 

DataCardValue3 - Product (Choice): Chair, Table, Lamp, Picture

DataCardValue4 - Is the Product Available (Choice):  Yes, No

DataCardValue5 - Product Availability Colors (Choice):  Red, Blue, Green, Orange

DataCardValue1 - Created (Date):  12/02/2019

DataCardValue2 - Created By (Person): Doe, John

DataCardValue6 - Title (Single Line):  Default = Parent.Default

 

I'm looking to make Title not visible on the form, but upon submit from a Save button, it would display in my SharePoint list as

Lamp-Red-12/02/19     or even something with the users name: Table-Orange-Doe, John

 

If I changed Parent.Default, what should I type in to replace?

 

 

1 ACCEPTED SOLUTION

Accepted Solutions
Super User III
Super User III

@TxSteve 

To generate a Title in the style of Lamp-Red-12/02/19 you would use code similar to this.

 

DataCardValue3.Selected.Value & "-" &
DataCardValue5.Selected.Value & "-" &
Text(DataCardValue1.SelectedDate,"mm/dd/yyyy")

 

Or to generate a Title in the style of Table-Orange-Doe, John you would use code similar to this.

 

DataCardValue3.Selected.Value & "-" &
DataCardValue5.Selected.Value & "-" &
DataCardValue2.Selected.DisplayName

 

I am certain you are already aware that to make the Title datacard hidden you must change the Visible property to

 

False

---
Please click "Accept as Solution" if my post answered your question so that others may find it more quickly. If you found this post helpful consider giving it a "Thumbs Up."

View solution in original post

1 REPLY 1
Super User III
Super User III

@TxSteve 

To generate a Title in the style of Lamp-Red-12/02/19 you would use code similar to this.

 

DataCardValue3.Selected.Value & "-" &
DataCardValue5.Selected.Value & "-" &
Text(DataCardValue1.SelectedDate,"mm/dd/yyyy")

 

Or to generate a Title in the style of Table-Orange-Doe, John you would use code similar to this.

 

DataCardValue3.Selected.Value & "-" &
DataCardValue5.Selected.Value & "-" &
DataCardValue2.Selected.DisplayName

 

I am certain you are already aware that to make the Title datacard hidden you must change the Visible property to

 

False

---
Please click "Accept as Solution" if my post answered your question so that others may find it more quickly. If you found this post helpful consider giving it a "Thumbs Up."

View solution in original post

Helpful resources

Announcements
secondImage

Experience what’s next for Power Apps

Join us for an in-depth look at the new Power Apps features and capabilities at the free Microsoft Business Applications Launch Event.

Power Apps Community Call

Power Apps Community Call: February

Did you miss the call? Check out the Power Apps Community Call here.

New Power Super Users

Congratulations!

We are excited to announce the Power Apps Super Users!

New Badges

New Solution Badges!

Check out our new profile badges recognizing authored solutions!

Top Kudoed Authors
Users online (81,189)