<form method="post">
<input type='text' name='user_id' placeholder='кому'>
<br>
<input type='text' name='message' placeholder='сообщение'>
<br>
<input type='text' name='attachment' placeholder='вложение'>
<br>
<input type='submit' name='submit'>
</form>
css
js