Form - Reset to default values option enabled does not pass information into database

Please fill in the questionnaire below.

Technical Help Questionnaire

Have you read and followed the instructions at: *READ ME FIRST* Technical Help FAQs - #2 by nigel ?

Answer: Yes

Describe the problem

When using the application view to create a form, I’m hitting an issue when enabling the “reset to default values option”. In the form, I have a few options that are used, in this case to generate a support request, which passes the information to the table.

When removing the option to “reset to default values”, the information is input into the table as expected. When the option is turned on, no data is being passed to the table. As a side note, when setting the fields in the form to “require this information”, an error is parsed advising field values incorrect, as discovered, because the fields are being erased before being submitted to the table.

I have a similar situation working with resetting a password via a form, where “reset to default values” works as intended, clearing entries following a password reset.

Provide screenshots or include share links showing:

How many rows in total do you have in your Baserow tables?

3

Please attach full logs from all of Baserow’s services

Additional Screenshots

Additional Screenshot (as i am limited as to how many I can upload)

Additional Screenshot - disabling the reset.

Additional screenshot - disabling the reset - table view

Good morning @DannyJones, thanks for raising this with us.

Am I right in assuming you are running into this problem on baserow.io?

Would you mind sharing:

  1. Which elements you have in your editor (i.e. what is inside the form element).
  2. How you setup the create row workflow action which is misbehaving.

Cheers,

Peter Evans

Hi Peter.

Thanks for getting back to me.

I am using the SaaS version via baserow.io, yes.

See below the elements in the editor for the form:

The create row workflow image I’ll add in the comments, as im limited as to how many images i can attach.

Now, these work when I don’t set the field “reset to default values after submission”. The values are sent to the DB.

I get the error in the web view: “Invalid form - One or more fields contain invalid values”, when “reset to default values after submission”.

Thanks Peter.

Dan.

Create new line flow:

Worth noting, the item prior in the workflow is to simply notify the user that a new ticket has been logged.

Good afternoon @DannyJones

I am trying to replicate this locally.

I get the error in the web view: “Invalid form - One or more fields contain invalid values”, when “reset to default values after submission”.

What happens if your form does not use a dropdown input element, does it still fail when the “Reset to default values after submission” is checked?
Can you screenshot the configuration for the “Query option” dropdown, and the “Support query details”?


We are investigating this bug and we’ll get it fixed soon, thanks for your feedback :+1:

Hi there.

Same result when using a text input for example.

Just as a confirmation also, it seems that the entries on the web view dont actually clear when selecting “reset to default values after submission" also.

The “Query option” has the below;

Will follow up reply with the Query details option.

“Query Details” option