• Resolved axwellion

    (@axwellion)


    I am having a few issues with allowing users to submit their own questions:

    1) After a question is submitted, the question is recorded as a total of three duplicate questions in the FAQ plugin database. At first, I thought I had pressed the submit button three times (since nothing appears to happen for a few seconds). But I tested again to be sure I pressed Submit only once. And yet each time, the question appears in the database 3 times.
    2) Related, if the page is refreshed after a submit, then three additional duplicate questions are recorded.
    3) Related, After pressing submit there is no visual cue that anything is happening. This could cause the user to press submit more than once.

    How can I stop these duplicates from being added to the database?

    I am using the latest version of wordpress and the premium trial version of your plugin.
    Thanks

    The page I need help with: [log in to see the link]

Viewing 6 replies - 1 through 6 (of 6 total)
  • Hi axwellion,

    1. Do you happen to use any visual composer or page builder plugin? If so, could you please disable that and check if you still see duplicates? Also, could you place the “[submit-question]” shortcode on a test page without using any visual composer or page builder and see if the issue persists?

    2. Since the form uses a POST query to submit the FAQ, you would be asked to confirm the re-submission of the previous query by the browser, if you cancel it, then there shouldn’t be any duplicate FAQs added.

    3. The page reloads when a user submits any FAQ question and a subsequent error or successful message is displayed on page load. There’s an error message displayed on top of the submit question form which you could highlight if you wish to bu using some Custom CSS similar to the following to make the results of “Submit FAQ” more prominent:

    
    div.ewd-ufaq-question-update {
        background: yellow !important;
    }
    
    Thread Starter axwellion

    (@axwellion)

    Hi Etoile. In short, when I tested again today without any changes to the page, I am no longer getting duplicate submissions. The only thing I changed since my message to you was to add a new unrelated, but coincidentally named plugin: https://www.ads-software.com/plugins/duplicate-post/ I use this new plugin to duplicate previous blog posts for future editing. But this should not have had any impact on FAQ submissions (or at least I don’t think so).

    As far as your questions:
    1) My theme has the Divi visual page builder, but I didn’t use it for my FAQ Submit page. I just used the normal wordpress page editor. The previously reference page, https://www.cryptocurrencycomplete.com/tests/ultimate-faq-plugin/, was created without the Divi page builder. (But, as mentioned before, I am no longer getting duplicates.)

    2) yes, on page refresh I do get the warning message you referred to and if I don’t cancel the refresh then it does cause an additional (single) submission:
    “The page that you’re looking for used information that you entered. Returning to that page might cause any action you took to be repeated. Do you want to continue?”

    3) The custom CSS did work and now the “success/Fail” message shows in yellow.
    — Is there any way that I can add some sort of “processing” message after submit is pressed and before the results message appears? My page is slow and I don’t want users to think nothing is happening.

    Thanks.

    Hi axwellion,

    Thanks for the updates. It could happen due to a conflict with some plugin, also as you mentioned you used a post duplicator plugin, there could be a possibility that this plugin might be the reason for the duplicate posts. If the issue comes back again, please do let us know.

    The browser starts loading a new page as soon as the “Submit” button is pressed so that is an indication that something is still processing. If you wanted to add some more info-graphic you may do so with some JavaScript code, but this is beyond the scope of our support.

    Thread Starter axwellion

    (@axwellion)

    Hi Etoile. Just to be clear, the duplicates stopped after I installed the new plugin that I mentioned, not before. But I just deactivated that other plugin as a test with another SUbmit and I am still not getting the duplicates anymore. So I don’t have any idea what caused them in the first place – But I am 100% sure that I did get three duplicates several times after I first installed the Ultimate FAQ plugin. So I will just keep my fingers crossed that I will not get them again.

    As far as some indication that something is happening after a Submit is pressed – I just checked again and there is no indication that anything is happening. I am using the latest Chrome and the two typical indications that a page is updating are not present. I.e. the refresh icon in front of the URL does not change and the browser tab does not change. I guess that is not critical.

    Thanks

    Hi axwellion,

    The favicon changes to loading icon as soon as you press the “Submit” button, the reason for the page not showing any activity could be due to the slow response from the server. You might also contact the website host to ask for their opinion on this as every link on your website seems to be starting the load process(shows the rotating load icon immediately after clicking any link or the submit button) but takes time to actually start rendering the HTML.

    Thread Starter axwellion

    (@axwellion)

    Thanks.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘User question submission causes duplicate questions’ is closed to new replies.