Skip to main content
  • Power Apps
  • Overview
    • Build Apps
    • Automate Processes
    • Connect Data
    • AI Builder
    • Portals
  • Pricing
  • Partners
    • Partner Showcase
    • Find Consulting Services
    • Find a Partner
    • Become a Partner
  • Learn
    • Documentation
    • Guided Learning
    • Support
    • Roadmap
    • Blog
    • Customer Stories
  • Community
    • Forums
    • Galleries
    • Ideas
    • User Groups
    • Community Blog
  • Register
  • ·
  • Sign In
  • ·
  • Help
Go To
  • Power Apps Community
  • Get Help with Power Apps (Formerly General)
  • Building Power Apps (Formerly General Discussion)
  • Common Data Service for Apps
  • AI Builder
  • Power Apps Governance and Administering (Formerly Administering Power Apps)
  • Power Apps component framework, ALM & Pro Dev
  • Power Apps Portals
  • Power Virtual Agents Forum
  • Community Blog & News
  • News & Announcements (Formerly Power Apps Community Blog)
  • Galleries
  • Community App Samples
  • Video Gallery
  • Canvas Apps Components Samples
  • Microsoft Business Applications Presentations
  • Ideas
  • Power Apps Ideas
cancel
Turn on suggestions
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
Showing results for 
Search instead for 
Did you mean: 
  • Power Apps Community
  • Galleries
  • Video Gallery
  • Re: Using the same form for new and edit forms

Using the same form for new and edit forms

07-20-2018 11:33 AM - last edited 07-20-2018 11:34 AM

Super User aprildunnam
Super User
1473 Views
LinkedIn LinkedIn Facebook Facebook Twitter Twitter
aprildunnam
Super User aprildunnam
Super User

Using the same form for new and edit forms

  • Mark as New
  • Bookmark
  • Subscribe
  • Mute
  • Subscribe to RSS Feed
  • Permalink
  • Print
  • Email to a Friend
  • Report Inappropriate Content
‎07-20-2018 11:33 AM

I created this short video to show how you can use a couple formula's to use the same form to handle both the New Item and Edit Item input.  

 

watch?v=72I2od3EteY

Screen Shot 2018-07-20 at 1.31.43 PM.png
Labels:
  • Community Tips & Tricks
Message 1 of 4
1,473 Views
3 Kudos
Reply
Highlighted
realik
realik
Level: Powered On

Re: Using the same form for new and edit forms

  • Mark as New
  • Bookmark
  • Subscribe
  • Mute
  • Subscribe to RSS Feed
  • Permalink
  • Print
  • Email to a Friend
  • Report Inappropriate Content
‎08-16-2018 08:23 AM

This is great.  Question - I have a two part form - one screen for some basic information and a second screen for further information.  If I want to apply this concept of using the same form for edit and new, how would you suggest I do so when going from the first screen to the second? 

 

Thanks!

Message 2 of 4
1,422 Views
1 Kudo
Reply
aprildunnam
Super User aprildunnam
Super User

Re: Using the same form for new and edit forms

  • Mark as New
  • Bookmark
  • Subscribe
  • Mute
  • Subscribe to RSS Feed
  • Permalink
  • Print
  • Email to a Friend
  • Report Inappropriate Content
‎08-16-2018 08:46 AM

Great question!  You should be able to use the same approach with setting a variable to denote if this is a New or Existing item then on the OnVisible of the secondary form screen set the FormMode appropriately.  I'm assuming you have a button that takes you from the basic form screen to the complex form screen so that where you would set your variable.  Hope I understood correctly and answered your question!

Message 3 of 4
1,419 Views
2 Kudos
Reply
realik
realik
Level: Powered On

Re: Using the same form for new and edit forms

  • Mark as New
  • Bookmark
  • Subscribe
  • Mute
  • Subscribe to RSS Feed
  • Permalink
  • Print
  • Email to a Friend
  • Report Inappropriate Content
‎08-16-2018 09:09 AM

That should work - I would just have to have two different buttons I think.

Message 4 of 4
1,417 Views
1 Kudo
Reply
  • All posts
  • Previous Topic
  • Next Topic

Power Platform

  • Overview
  • Power BI
  • Power Apps
  • Power Automate
  • Power Virtual Agents
  • Sign in
  • Sign up

Browse

  • Sample apps
  • Services

Downloads

  • Studio
  • iOS
  • Android

Learn

  • Documentation
  • Support
  • Community
  • Give feedback
  • Blog
  • Partners
  • © 2019 Microsoft
  • Privacy & cookies
  • Terms of use
  • Trademarks