Firstly, I’d strongly suggest going through the full lesson set from start to finish, it helps a lot and doesn’t take long. There’s a section in there on forms also.
But, although I haven’t used the module myself, I am aware that “User Forms” is very powerful. You won’t even need to write any code, and if you want to get fancy you can start extending it’s classes.
Thanks @James
but my problem is creating html form with redirect message .
i create html form and also create a function for form and form submit but problem in getting message with redirect back .when i use in built silverstripe form ,i can get redirect message .
can you please help me in custom html form with redirect message ???