Announcements
Good morning Power Apps Community,
EditForms allows you to edit all data cards, but is there a way that I can edit only the data cards I want?
Thank you so much for you time 😄
@PowerAppsRookie
I'm not sure if I understand your question correctly, but if you're looking to make some of the cards on a form read only, you can set the control type of the field to 'view text'.
Sorry I was very vague!
In my form I have a field that relies on another field. Both of which are dropdowns. I'm trying to lock the first field to say "XYZ" and not show other options. However this has proved rather difficult.
In my app I have
1. A gallery only showing items that are affected by "XYZ"
2. A Form that toggles to NewForm & EditForm
In the Editform mode, the field shows "XYZ" because it's showing data already in the gallery. However with NewForm it's left blank so I can not use view mode on the data card. So I want to be able to have that data card editable only in NewForm, but view only in EditForm
Hi @PowerAppsRookie ,
Based on your description, you want to be able to have that data card editable only in NewForm, but view only in EditForm.
Maybe you could try to select the DataCard and apply the following formula on its DisplayMode property as:
If(Form.Mode=FormMode.New,DisplayMode.Edit,Form1.Mode=FormMode.Edit,DisplayMode.Disabled)
Result Screenshots:
Best Regards,
Charlie Choi
Thank you so much!
Hi @v-yujincui-msft why the solution does not apply in datacard with combobox? Still unable to edit/add data. Please help
Hi @scorpio24 - I'd suggest that you raise this as a new post and include the formulas that you're using. You'll hopefully get a better response this way.
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.
Congratulations to our community stars!
Expanding mentorship, skilling, and AI innovation
These are the community rock stars!
Stay up to date on forum activity by subscribing.
11manish 402 Super User 2026 Season 2
Mohsin Ali 328
WarrenBelz 296 Most Valuable Professional