Home › Forums › Quform PHP › Changing location of success message
- This topic has 1 reply, 2 voices, and was last updated 10 months, 2 weeks ago by Ally.
- AuthorPosts
- November 21, 2023 at 7:31 pm #36240teonkajkafonParticipant
Hi, I’m so happy with how I’m able to get my form up and working! I only know basic html and css too!
I would like to change the location the success message appears, because when I test it on my mobile, it’s not obvious that the message has been sent.
From looking in the forums and online, I’ve tried changing my plugins.js code to this:
// Create a new success message var $successMessage = $( '<div class="quform-success-message">' ) .html(response.message) .hide() .append(self.$container)
[edit: on the website, the page jumps all the way to the top, and the form disappears! odd!]
[edit: I’m now trying this code from a forum reply: ‘ // Create a new success message
var $successMessage = $(
‘<div class=”quform-success-message”/>’
)
.html(response.message)
.hide()
.appendTo(“.quform-submit”)
.fadeIn(options.successFadeInSpeed)’and in my mobile and Chrome it works as I’d like it to, but in Firefox it’s jumping to the top of the page and removing the form.
What am I doing wrong please?
Thank you!- This topic was modified 10 months, 2 weeks ago by teonkajkafon.
- This topic was modified 10 months, 2 weeks ago by teonkajkafon. Reason: adding new code I'm trying and browser info
November 22, 2023 at 7:48 am #36245AllySupport StaffYou don't have permission to view this content. Please log in or register and then verify your purchases to gain access.
- AuthorPosts
- You must be logged in to reply to this topic.