cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
ComputerHabit2
Resolver III
Resolver III

NewForm not working. Not adding items to Sharepoint List.

I'm trying to figure out where I've gone wrong.  I'm trying to add items to a list.  I'm using NewForm and so on but when I save Submit() nothing happens and the fields populate with an item that was previously selected from a data table.

I have an icon that has

 

OnSelect = 
Navigate('Request Form',ScreenTransition.CoverRight,
{
varRequestDisplayMode: DisplayMode.Edit,
//varRequestShowSearch: true,
//varRequestShowForm: false,
varRequestFormMode: FormMode.New
}
)

 

I'm using DefaultMode = varRequestFormMode on my screen "Request Form".

This should take me to my form page and reset the form as far as I understand it.

2 ACCEPTED SOLUTIONS

Accepted Solutions
ComputerHabit2
Resolver III
Resolver III

Never mind the form was submitting.  The data table wasn't refreshing.  Ugg.

View solution in original post

Nogueira1306
Super User
Super User

If you want to do that why dont you do this:

 

 

OnSelect = 
Navigate('Request Form',ScreenTransition.CoverRight);
EditForm(FormName);
NewForm(FormName);

 

You can also say "ResetForm(FormName)" instead of "NewForm(FormName)"

 

If you need additional help please tag me in your reply and please like my reply.
If my reply provided you with a solution, pleased mark it as a solution ✔️!

Best regards,
Gonçalo Nogueira

Check my LinkedIn!

Check my User Group (pt-PT)!

Last Post on Community

My website!

View solution in original post

2 REPLIES 2
ComputerHabit2
Resolver III
Resolver III

Never mind the form was submitting.  The data table wasn't refreshing.  Ugg.

Nogueira1306
Super User
Super User

If you want to do that why dont you do this:

 

 

OnSelect = 
Navigate('Request Form',ScreenTransition.CoverRight);
EditForm(FormName);
NewForm(FormName);

 

You can also say "ResetForm(FormName)" instead of "NewForm(FormName)"

 

If you need additional help please tag me in your reply and please like my reply.
If my reply provided you with a solution, pleased mark it as a solution ✔️!

Best regards,
Gonçalo Nogueira

Check my LinkedIn!

Check my User Group (pt-PT)!

Last Post on Community

My website!

Helpful resources

Announcements
PA Virtual Workshop Carousel 768x460.png

Register for a Free Workshop

This training provides practical hands-on experience in creating Power Apps solutions in a full-day of instructor-led App creation workshop.

Microsoft Build 768x460.png

Microsoft Build is May 24-26. Have you registered yet?

Come together to explore latest innovations in code and application development—and gain insights from experts from around the world.

May UG Leader Call Carousel 768x460.png

What difference can a User Group make for you?

At the monthly call, connect with other leaders and find out how community makes your experience even better.

Top Solution Authors
Top Kudoed Authors
Users online (1,154)