Support » Plugin: Usernoise modal feedback / contact form » [Plugin: Usernoise modal feedback / contact form] Example of custom fields

Viewing 1 replies (of 1 total)
  • Plugin Author karevn

    (@karevn)

    I am still developing my site – going to publish a full tutorial there. But here are a couple of keypoints:
    – Render your custom fields in un_feedback_form_body action.
    – Save your custom field values in un_feedback_created action that receives id of the post created and $_POST parameters with slashes stripped.
    – Validate your fields in un_validate_feedback filter. It receives an array of validation errors. If you’ll return an empty array – Usernoise thinks that validation passed with OK result.

Viewing 1 replies (of 1 total)
  • The topic ‘[Plugin: Usernoise modal feedback / contact form] Example of custom fields’ is closed to new replies.