I am trying to get my form submission to work, but I am running into an invalid error. I am wondering if its because the input type on the password field isn’t sticking. See video.
Update:
I have discovered that the password field and the file fields prevent the form submission from going through. I am pretty sure both worked before the update.
I was testing it on a user authentication
form values.
I had to completely disable the password and file field in order for the update form to work. Even leaving it blank gave an invalid form error for the password field.
If I left the file field blank, the contents got erased. This didn’t happen before the update (95% sure anyway). I also had to disable the file field, so that Avatars don’t get deleted when updating profiles.
Update 2: I just tested the file update on a non-user authenticated form. Leaving a field blank in the submit button event area deletes data. It used to just ignore it and keep the files that were already there if you left it blank.
Fields disabled:
Hey Iokaar, thanks for reporting.
Could you open your browser console (F12) then open the network tab and trigger the error again. You should see the failing request and if you open it it displays the error details. If you could send me the screnshot of that it twould be great.
It should look like that (with the error on the right side):
I just tested all this again today to see if I can catch the error code. Surprisingly everything works now. I even edited the password and the form submitted correctly and changed the password. The input type still won’t stay set to password, but it updates regardless. I don’t know if that’s a good thing or a bad thing.
However, what is still not working correctly is the file field for my profile edit form.
I would like to take this moment to mention that I do not yet have access to the file upload element in the application builder. Therefore all my update row
user forms have the file fields left blank (no form data input). At the moment, I have been adding images manually in the database tables to test things out.
I can go to a public edit form, edit data, and submit the update (while leaving the file field blank on the button event). The images still remain in the table.
However, on my user authenticated
form, the image is deleted. I set it up just like the public access form and left the file field blank on the button event menu.
Yeah that one is an actual bug and will be fixed with the next release but you are right the value is saved behind the scene.
In the update row form you have a way to ignore a specific field by clicking on the three dots next to it:
If you select this option is the field still wiped out?
I suspect that you entered a value in that field at some point and even if you delete it the result is different from when you just never touched the field, that probably explains the difference between your two configurations, but it’s invisible. Anayway you should use the option when you want to ignore a field, it’s safer.