Hi
I am fairly new to Ruby (& Sinatra). I have a web form (ERB) where none
of the fields can be blank and I need client side validation to show
fields are empty.
I want to get the value from text box field and pass to javascript to
find out if it is empty. As I realize, server side is getting mixed up
with client side and i am not getting the value passed correctly.
Here is my code-- Can someone please guide (apologize the query is
trivial)
Form1.erb–