SoFunction
Updated on 2025-02-28

Two-point interactive experience improvement tips for forms

I believe everyone has used forms on the page. If you are not satisfied with the monotonous form control unit, you might as well take a look at the following tips:

1. Move selection of form text input: In the text input field, if a prompt is added, the visitor often needs to select and delete it with the mouse, and then enter useful information. In fact, as long as you add onMouseOver="()" onFocus="()" code to <textarea>, everything will become much simpler, such as:

[Ctrl+A Select all Note:Introducing external Js requires refreshing the page before execution]

Similarly, you can add code to <input>.

2. Click to delete the form input unit: This column has the same function as above, but the mouse changes slightly, and you need to click instead of the mouse above. like:

[Ctrl+A Select all Note:Introducing external Js requires refreshing the page before execution]

After clicking on the input unit, the prompt message will be deleted. Isn’t it very convenient?