So I have a question like the thread here but since I can't comment I create a new thread instead it's just a clarification though. Is there no other way on how to insert a data from a table into the form without using the <input type="hidden">
?. As a novice, I felt it is too ugly to add an <input type="hidden">
since someone might be able to snoop around by just inspecting the element in a browser.
Asked
Active
Viewed 44 times
0

David Diaz
- 113
- 3
- 14
-
You can store data in a session if you don't want it as a hidden element - though using a hidden input shouldn't pose much of an issue anyways. – Qirel Jun 30 '18 at 10:38
-
As with any data the user passes to the web server, they can alter it. Hidden/display only etc. data is still open to abuse. – Nigel Ren Jun 30 '18 at 10:40
-
thanks for the feedback i guess there's not much of a difference huh... – David Diaz Jun 30 '18 at 10:54