Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

We've moved the forum!

Please use forum.silverstripe.org for any new questions (announcement).
The forum archive will stick around, but will be read only.

You can also use our Slack channel or StackOverflow to ask for help.
Check out our community overview for more options to contribute.

All other Modules /

Discuss all other Modules here.

Moderators: martimiz, Sean, Ed, biapar, Willr, Ingo, swaiba

userforms alert box


Go to End


721 Views

Avatar
Guy Van Bael

Community Member, 61 Posts

15 September 2014 at 8:16pm

Edited: 16/09/2014 6:07pm

Hi,

I have a pagetype (onepage website) which extends userdefinedform. The form and the $content is at the bottom of the page, so i'd like to show an alert box after submitting the form instead of the normal redirect (now it reloads the page from the top, so user doesn't see the "thanks"-message which is placed close to the form at the bottom of the page).

Is this possible without editing the core files of the module?

thanks for helping out
Guy