Timeline for For a use once only button callback, should the name be more related to the button or the task of the callback?
Current License: CC BY-SA 4.0
4 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| May 9, 2018 at 1:52 | vote | accept | ocomfd | ||
| May 7, 2018 at 11:20 | comment | added | Sambhaji Katrajkar |
The main question was stating to validate and then send messages to server so I kept such name.. If it was only for validate then we can give the name as validate() or formValidation()
|
|
| May 7, 2018 at 10:35 | comment | added | Thomas Junk |
Yes! Intent should be communicated. But I would go for validate, since the function should validate and in case of successful validation, the browser should "submit" aka "send the message"
|
|
| May 7, 2018 at 4:16 | history | answered | Sambhaji Katrajkar | CC BY-SA 4.0 |