-
Notifications
You must be signed in to change notification settings - Fork 102
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Need help with usage #55
Comments
Have you included the unobtrusive validation javascript script? It's
required for the validation to work. See the source of the example page.
It should bind to the view model in the same way a normal form is bound (or
are you using a dynamically built form?)
…On 9 March 2018 at 21:37, Sebastian P.R. Gingter ***@***.***> wrote:
Hi,
i'm trying to use FormFactory in one of my open source projects.
I like it how it generates my first form, but I'm a bit lost in how to use
the features.
I am using ASP.NET Core 2 Razor Pages.
So my main two questions are:
How can I enable validation? My required fields i.e. aren't validated and
I can post the form without needing to fill in required fields.
When the form gets posted, what do I need to do to get the entered &
posted data into my model to further process it?
Thanks in advance
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#55>, or mute the thread
<https://github.com/notifications/unsubscribe-auth/AAQ0-ssTG_7Vq91oEJjRvb6jnSdfrbNiks5tcvYwgaJpZM4Sk530>
.
|
Ah, all sorted out. Indeed, the javascript was missing. I could also sort out the binding. Thanks. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi,
i'm trying to use FormFactory in one of my open source projects.
I like it how it generates my first form, but I'm a bit lost in how to use the features.
I am using ASP.NET Core 2 Razor Pages.
So my main two questions are:
How can I enable validation? My required fields i.e. aren't validated and I can post the form without needing to fill in required fields.
When the form gets posted, what do I need to do to get the entered & posted data into my model to further process it?
Thanks in advance
The text was updated successfully, but these errors were encountered: