I have a form, and a button, now when i click on submit >> i want the user to have the ability to resubmit again>> but currently when the user submits the form for the first time it will be saved successfully>> but when the user clicks on the submit button again>> the form submission will fail with the following message "An entry is required or has an invalid value. please correct and try again'"
here is my form:-
any advice?
I've noticed several other things that may be causing an issue:
Any of these things could contribute to the errors you are seeing
@BCLS776 ok inside the form OnSuccess i added this :-
but did not solve the issue.
also i checked that all the fields inside the form has values
@johnjohn123 wrote:@BCLS776but currently after submitting the form i will stay on the same form .. buy if i click on submit i will get this error "An entry is required or has an invalid value. please correct and try again'"
This error indicates a problem I described in point #2 above: The appropriate Default/Update properties for each card on the form need to be populated with valid data. The form will not submit successfully unless it has all required fields filled out for the new record.
@BCLS776but currently after submitting the form i will stay on the same form .. buy if i click on submit i will get this error "An entry is required or has an invalid value. please correct and try again'"
OK, can you tell us where your app calls NewForm() so we can verify that is working correctly? It doesn't appear in the OnSelect property of the Submit button, so it must be somewhere else.
Also, please open a Monitor session before you test the app next, so we can verify the actions of the app.
@johnjohn123 wrote:@BCLS776 yes this is already there,, but what do you exactly mean by "to submit a second record of data"?
My understanding so far is that you wanted to submit the form a second time, resulting in a second record in your data source - are you after something different than that?
@BCLS776 yes this is already there,, but what do you exactly mean by "to submit a second record of data"?
To get a form to submit a second record of data, you'll need to have two things working:
Do you know if that is the case with your app?