BuddyDev

Search

User Contact Form Mandatory fields and inidicators message sent

Tagged: 

  • Participant
    Level: Initiated
    Posts: 10
    Barry Grennan on #21205

    In testing the plugin, the page refreshes on clicking “send message” even if all of the fields haven’t been filled out.

    So there’s no message to say “Subject is A Mandatory Field” and all other details the user has entered were lost.

    Likewise when a message is successfully sent, the user has no way of knowing this is the case.

  • Participant
    Level: Initiated
    Posts: 10
    Barry Grennan on #21206

    BuddyPress User Contact Form plugin

  • Keymaster
    (BuddyDev Team)
    Posts: 24611
    Brajesh Singh on #21221

    Hi Barry,
    Thank you for using the plugin.

    I am sorry, we used bp_core_add_notice which adds notice in the member header for most of the theme(It depends on a hook).

    I am releasing an update today to have an option in the admin where you can enable it inside the tab content.

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 24611
    Brajesh Singh on #21231

    Hi Barry,
    Please upgrade to 1.0.8.

    It will fix the issue.

    https://buddydev.com/plugins/buddypress-user-contact-form/

    Regards
    Brajesh

  • Participant
    Level: Initiated
    Posts: 10
    Barry Grennan on #21238

    Hi Rajesh,

    I updated, but I’m not seeing the option you mention. What is it called/where is it located?

  • Keymaster
    (BuddyDev Team)
    Posts: 24611
    Brajesh Singh on #21244

    Hi Barry,
    I decided going against options. Instead, I tested with did_action() and added the template notice action to our form template if it was not already used. Please try submitting the form and let me know if the feedback is visible now.

    Regards
    Brajesh

  • Participant
    Level: Initiated
    Posts: 10
    Barry Grennan on #21297

    Hi Brajesh,

    I’m not getting any feedback. If the form is filled out fully, the page refreshes and the message is sent (but there’s no indication of this on the page)

    If the form is not fully filled out the page refreshes the same as above but the message isn’t sent and there is no indicator that it wasn’t sent.

  • Participant
    Level: Initiated
    Posts: 10
    Barry Grennan on #21298
    This reply has been marked as private.
  • Keymaster
    (BuddyDev Team)
    Posts: 24611
    Brajesh Singh on #21299

    Hi Barry,
    I a sorry for the inconvenience. Is there any chance that you had copied the template for form from the plugin to your theme or child theme?

    Regards
    Brajesh

  • Participant
    Level: Initiated
    Posts: 10
    Barry Grennan on #21302

    I have a number of Buddypress templates overwritten in my child theme. None from this plugin though.

    Could you tell me the specific file/path that would affect this?

You must be logged in to reply to this topic.

This topic is: not resolved