cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
ogend
New Member

Form- make HintText (placeholder) an entry input if user doesn't overwrite

Hello power apps gurus, 

 

I am building a simple form which updates a sharepoint list. I have a date field and I set an input date placeholder to be equal to Today(). Can I tweak the setting so that if the user doesn't  input the date,  the placeholder value becomes an entry? The users see placeholder value in the field- they think that  it is their  selection and there is no need  to overwrite, but placeholder value is not passed to sharepoint list. 

 

Thank you, 

 

Olga

1 ACCEPTED SOLUTION

Accepted Solutions
RandyHayes
Super User III
Super User III

@ogend 

If I understand what you are saying, you want the datepicker to simply default to today's date.

If they skip over it and don't change it, you want it to be the value that is in the placeholder.

 

If so, then simply change your DefaultDate property to: Coalesce(Parent.Default, Today())

 

I hope this is helpful for you.

 

_____________________________________________________________________________________
Digging it? - Click on the Thumbs Up. Solved your problem? - Click on Accept as Solution. Others seeking the same answers will be happy you did.
Check out my PowerApps Videos too!

View solution in original post

2 REPLIES 2
RandyHayes
Super User III
Super User III

@ogend 

If I understand what you are saying, you want the datepicker to simply default to today's date.

If they skip over it and don't change it, you want it to be the value that is in the placeholder.

 

If so, then simply change your DefaultDate property to: Coalesce(Parent.Default, Today())

 

I hope this is helpful for you.

 

_____________________________________________________________________________________
Digging it? - Click on the Thumbs Up. Solved your problem? - Click on Accept as Solution. Others seeking the same answers will be happy you did.
Check out my PowerApps Videos too!

View solution in original post

@RandyHayes  Thanks a lot! Exactly what I was trying to do!

Helpful resources

Announcements
PA User Group

Welcome to the User Group Public Preview

Check out new user group experience and if you are a leader please create your group

Power Apps Community Call

Monthly Power Apps Community Call

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

secondImage

Experience what’s next for Power Apps

See the latest Power Apps innovations, updates, and demos from the Microsoft Business Applications Launch Event.

Power Platform ISV STudio

Power Platform ISV Studio

ISV Studio is the go-to Power Platform destination for ISV’s to monitor & manage applications post-AppSource publish.

Top Solution Authors
Top Kudoed Authors
Users online (45,101)