• Resolved kanupriya

    (@kanupriya)


    Hello Ali,

    I have one form , after login user can submit the form
    how to work for it ? How ot create params and endpoint .
    1.) First need details of current logged in user details
    2.) and allow to submit the forms with captcha , If captcha is not filled or incoorect not allow to submit the form
    3.) have to insert like
    $wpdb->insert(
    ‘wp_rate_listing’,
    array(
    ’email’ => $user_email,
    ‘data’ => $databse_json, // in json_encode
    ‘date’ => $today
    ));
    4.) I need to send email after submit form to user and admin as well
    So please help me to solve out to make endpoints for new form

    https://www.ads-software.com/plugins/json-api-user/

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Ali Qureshi

    (@parorrey)

    Hi kanupriya,

    this forum is only for plugin related endpoint questions.

    You need help at js or jquery forums for all this logic and code. Please check jQuery documentation. These questions are not related to plugin.

    Thread Starter kanupriya

    (@kanupriya)

    My main point to ask from you how to create new endpoints with your plugin or create my own?

    Plugin Author Ali Qureshi

    (@parorrey)

    plz check the plugin code for this, you can see the user.php file in the controller directory and follow the existing endpoints.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘how to submit custom forms’ is closed to new replies.