Skip to content

Server side validation - the post variable name is same as the input name #214

Closed
@daljit3

Description

@daljit3

I have an issue with the server side validation. When the validation ajax request is sent it takes the name of the input field and sends as the post data e.g. if input field was named "email" then the post data is Array('email' => 'adfasdfsd'); This works fine if it was one off requirement. But if I need a generic server side validation code to do similar checks for different input fields, then it isn't possible with this config. If the name of the post data key is hardcoded to, say, "userinput", then I could use the same code to validate many different forms or better if it was configurable.

Can you please advise if it possible or not?

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions