Validating dynamically created textboxes
This was a simple process and just required adding a few directives here and there.
Now let's talk about a different scenario where we won't always know how many fields or which fields we will have.
NET 3.5 Basics section of the Wrox Programmer to Programmer discussions.That means you can specify any XHTML out want in addition to the text, which is a level of flexibility that you can use to do some fairly major custom design. "That means that you simply declare function name and . Since you then add the event manually here, this might be the only problem. __________________ ------------------------- Whatever you can do or dream you can, begin it. If I'm right, then try commenting out this one line and then see if it works."FYI, Auto Event Wireup only works for a number of predefined Page events; not for your own controls. Now we are able to validate each field individually!
Hopefully this has helped show how the ng Form directive is to be used when building dynamic forms from ng Repeat.Here is the example JSON data we would get back from our API for our users.