- Value also the default values, even if the default value is as you like. Infact they could change the default value along versions.
- Use GET as a method for the forms that doesn’t send any important information but they act just as a filter. This is good:
- In the case of reloading of the page, the form is still the same
- It’s easier to manage in the case there are also links that submit the form (all the filter values will be in the GET array)
- When you submit a form or a page that should perform an action, take into account that the user could submit it a long time after the loading of it, so the situation of the system could have been changed in the meantime. Then in the action page do the proper checks.
