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 / How to show a Fill-in ...
Power Apps
Unanswered

How to show a Fill-in value inside a Free-Text for a choice field inside our edit form

(0) ShareShare
ReportReport
Posted on by 3,506

We have the following SharePoint Choice field which allow fill-in value:-

aloow fill in.png

 

Then we created a canvas app >> where the above field will be mapped as a combo box, so i have did these modifications:-

 

1) i removed the mapped combo box and enter radio button with static values representing the standards options as per the above field definition.

 

2) I added a checkbox and free text to allow the user to either select a radio option or enter a manual value, as follow:-

3arrows.png

 

3) finally i updated the Update property of the card, as follow:-

 

If(varManualAdd2,{Value : TextInput2.Text},Radio1.Selected)

 

now this is working for creating a new item.. but since i am using the same form to edit items.. so how i can do the following:-

1) when i retrieve the list item and define it inside Item property for the form:-

 

If(IsBlank(varRecord),Defaults('Online Credit Request'),varRecord)

how i can map the value of this Choice field>> to get the related Radio option selected

2) incase the current value does not match any of the static Radio choices, how to enter the value inside the free text?

 

Any advice ?

Thanks

 

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

    @johnjohn123 

    The problem you are going to encounter is that, when you add a new choice from a fill-in, that will become part of the choices.

    So, if a person enters $100, for example, you are expecting to see the textbox come up later when editing to show the $100.  You can devise a formula to do this, but the problem comes if someone else enters $200 in the textinput.  Now your list contains both the 100 and 200.  So...which one would you show when editing?

     

    My suggestion would be to not use a fill-in value, but to simply record the written in value into another column in your datasource.  That way, you can display this value to the user when editing the record without any issues.

     

    I hope this is helpful for you.

  • johnjohn123 Profile Picture
    3,506 on at

    @RandyHayes  yes i know , but to fix this i can do these checks:-

     

    1) get the current item amount

     

    2) check if this Amount is inside the Radio static items, and if so, to select the related radio button, while if the check fail, to enter the current item Amount inside the input field.. but i am not sure how i can write such a formula?

    Thanks

     

    **You might did not notice that the Radio button is having static items and not a dynamic ones (i did so to avoid the issue you referred to)... so filled in choices will not be shown inside the Radio buttons static Items values..

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

    Sorry...I see you replied to this (as I mentioned in your other post).

     

    Your issue still remains - if one user enters 100, it will now be in your Choices.  If another user enters 200, it will now be in your choices.

    So how would you decern between the two?

    @johnjohn123 

  • johnjohn123 Profile Picture
    3,506 on at

    @RandyHayes  fill-in values will not be shown inside my choices as my choices are static inside the Items property as shown in this picture which i posted already

     

     

    johnjohn123_0-1644855155021.png

     

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

    @johnjohn123 

    Yes, but you want the fill in choice to appear in your text input control...correct?

  • johnjohn123 Profile Picture
    3,506 on at

    @RandyHayes  No... if the choice is not within the static item.. to show it inside the free text input

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 739 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 268

Last 30 days Overall leaderboard