lettucebo / MvcDynamicForms

Create dynamic forms in ASP.NET MVC.
52 stars 28 forks source link

How do I use this with Javascript? #9

Closed wizaerd closed 7 years ago

wizaerd commented 7 years ago

Nevermind

lettucebo commented 7 years ago

Hi

Due to work relate problem, I can not deal this issue faster, Sorry about this

Use JavaScript with this is very simple

In the Field class have a property called: Key, Used to identify the field.

This property also reflect to html.

For example, I have a TextField and set the key

image

In the view I can get input id and name: prefix + Key image

see the highlight section