I have a case where I need to calculate an item value on the client side so the user can see the result but not modify it. To achieve this, I used CSS to visually disable the item. I am aware that this approach is not secure because it does not generate a checksum value, so I added server-side validation to ensure the value is not tampered with. I would like to know if there is a better or more secure way to handle this, or if you can suggest an optimized approach that avoids calculating the same value twice.