jquery - MVC Remote Attribute Additional Fields -


jquery is to add the prefix of the input field name (mymodel.field1) in each region are listed in the remote verification data field val -remote additionalfields In my spare areas, I have a hidden field, which is not part of the model, hence its name is "fieldhide" rather than "mymodel.fieldhidden".

I have a "Fildhaid" instead of "mymodel.fieldhidden" in the query string key is confirmed by reviewing the request object controller and confirmed data is zero. Pretty sure its looking for jquery verification "mymodel.fieldhidden" because it's empty and definitely can not find it.

Is there a way to create jquery through mvc properties, auto no prefix or jquery auto fields through manipulation no additional fields, where the name of values ​​such as "model.fieldname" feature Formatted, where remote verification has been added?

What I had to do was add the hidden area twice. I had already had a general setup for several actions in the controller, as expected from the name. Then the Jquio verification library is expected by adding hidden fields with the naming convention, then this query was sent as part of the string. The name attribute is the Model.Field for Model_Field and Name attribute for the name ID attribute.

I then bind parameters characteristic was as follows with the use of the prefix:

  [bind (prefix = "Model.FieldToRemotevalidate")] string FieldToRemoteValidate  < / Pre>  

Comments

Popular posts from this blog

ios - Adding an SKSpriteNode to SKScene from a child SKSpriteNode -

Matlab transpose a table vector -

c# - Textbox not clickable but editable -