• Resolved webdezigner90

    (@webdezigner90)


    Hi,

    Thank you for awesome plugin and system. Here is some questions;

    In Submission Behavior > After submission we can set Inline Message, then we can limit submissions to 1 and we can set Expiration Message, but is it possible to show our custom inline message instead of expiration message? We use conditions in after submission message, and it would be awesome if we can show submission result even after page reloading, we use basic form in this case.

    Another solution if we will use quizzez > personality test instead of basic contact form.

    Is it possible to use acf field shortcodes in result pages? I think we resolved this case with this code, because we use mycred and it works great,

    add_filter( ‘forminator_quizzes_render_nowrong_result’, ‘allow_shortcodes_on_quizz_results’, 15 );
    function allow_shortcodes_on_quizz_results( $content ) {
    return do_shortcode( $content );
    }

    But, we have another problem with url, because after submission url address changing to example; someaddress. some /entries/44/
    and acf field not works for this reason

    So if we use personality quizz;

    1. Can we limit submissions and can we show personality test results for logged in users even after page reloading?

    2. Can we keep url address without url/entries so then we can use acf field data from current page where our quizz form is?

    Which is more easier case (form or personality quizz) if we want create questions with results and if we want show results to our users forever (all customers have account so they must logged in first to our page) and of course we set limitation for submissions max 1 submit per user.

    Thank you in advance.

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Support Imran – WPMU DEV Support

    (@wpmudev-support9)

    Hello @webdezigner90 !

    I hope you’re having a great day!

    is it possible to show our custom inline message instead of expiration message?

    I’m afraid that’s not possible at the moment – the messages have different uses so they can’t be used interchangeably. The expiration message will only show up if the expiration conditions are met and the form won’t be displayed in that case. A possible solution would be here to use the same message as for the Inline Message.

    it would be awesome if we can show submission result even after page reloading, we use basic form in this case.

    I’m not sure if I understand correctly here – just so we’re on the same page, can you describe the use case and the expected results?

    Regarding the question about quizzes – it’s better to separate questions into 2 tickets in such cases – this will prevent the ticket from becoming very long and also will help prevent miscommunications. If that’s okay, please open a separate ticket for the quiz question and we’ll assist you with that there.

    Best regards,
    Pawel

    Thread Starter webdezigner90

    (@webdezigner90)

    Hi,

    Thank you for reply.

    I mean;
    1. We have 1 question with 3 options and condition with 3 different inline messages based on answer
    2. We set submission limits to 1/per user
    3. After form submission we get inline message based on answer

    This works great.

    So where is our problem?
    When user get inline message after submission and if user will come next day to page, inline message is gone and user cant see this result (inline message in our case) anymore.

    What we need?
    When user submit and get inline message based on answer, is it possible to show this inline message always? We cant use expiration message, because we have 3 different inline messages based on radio selection.

    This is simple case i guess, maybe its possible with some small php code?

    Thank you in advance.

    Plugin Support Williams – WPMU DEV Support

    (@wpmudev-support8)

    Hi @webdezigner90

    Thank you for explanation!

    I’m afraid it’s not possible to achieve it “out of the box”. Even if you set the inline message to not hide automatically (which is possible) it will “go away” once the page is reloaded.

    Instead a form would be then displayed again or – if submission is limited – a message about this.

    I’m not quite sure about the form in question but one of the possible workaround (very simple actually) would be to use redirect in “Submission behavior” instead or in addition to the inline message and just redirect user to one of three different pages depending on submission content (just like you do to select relevant inline message). On such pages you would just have the message added “for good”.

    For example:

    – if response A redirect to “Page A” which has “Thanks for response A” text on it
    – if response B redirect to “Page B” which has “Thanks for response B” text on it
    – and so on…

    I understand that it’s probably not the most “elegant” solution but might be worth checking as it’s simple to set up and shouldn’t require any custom code.

    Another option would be way more complex and would require quite a lot of custom code (which, i’m afraid, is out of the scope of this support):

    the form would have to store user ID in hidden field and then when user loads the page (being logged-in to the site already) custom code would have to check if there already is a submission in DB from that member for that form (this can be achieved with Forminator API) and then display some message based on that.

    Kind regards,
    Adam

    Plugin Support Amin – WPMU DEV Support

    (@wpmudev-support2)

    Hello @webdezigner90 ,

    We haven’t heard from you for a while now, so it looks like you don’t have any more questions for us.

    Feel free to re-open this ticket if needed.

    Kind regards
    Kasia

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Submission limits and retention of results even after page reloading’ is closed to new replies.