Hi all
I come from the ASP MVC C# world. Over there I can add the following to a
view @Html.ValidationMessageFor(x => x.Name) and if there is an error in my
view state for that field it will output error text
ViewState.AddError('Name', 'Required');
return View();
It will also re-populate the input values of the form. I'm looking to
achieve something similar with Express. Keeping the form values and also
validating input + showing errors against form inputs. Any advice would be
appreciated!
--
Job board: http://jobs.nodejs.org/
New group rules:
https://gist.github.com/othiym23/9886289#file-moderation-policy-md
Old group rules:
https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines
---
You received this message because you are subscribed to the Google Groups
"nodejs" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/nodejs/f33f24a5-757d-48fb-82ab-9716c080a8a0%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.