Login Form

#313 – Jump to top of page in multipage survey and validate an E-Mail address

Posted in ‘BF Survey’
This is a public ticket. Everybody will be able to see its contents. Do not include usernames, passwords or any other sensitive information.
Saturday, 02 August 2014 00:16 AEST
Joomla! version: 3.x

Hello Tim,

I have one very valid feedback form my client: The survey ( which has up to 15 questions per page) does not scroll to the top of the page after clicking on the next" button. At first I laughed at my client but he s actually right: elderly users or less experiences really CLAIM that the next questionnaire page starts in "the middle".

I know this may sound ridiculous to you but I really hope there is some possibility to build in a function to tell the system to jump to the top after proceeding.


Also, my client hates the build in E-Mail Address function and I cannot use it (cause the I d like to repsond anonymously business logic is not what he wants..)
So, I have to ask for the E-Mail address "manually" and the field is not mandatory. However: How can I veryfy if someone gives his or her Mail address that it s indeed an E-Mail address (with an @ sign and a dot ... just basic string verification)

Thanks for you help!!

Kind regards

 Marius Jost
Saturday, 02 August 2014 11:53 AEST 30'
BF Quiz Plus 3 Years
Hi Marius,
Thanks for the feedback, I totally agree with your client, and hadn't come across this as my dev site doesn't have that many questions per page. I've just added some code to force the form to go to the top of the page whenever you click next or previous. This is included in v2.1.3. After upgrading, just press the fix database button in the backend.

Regarding the manual email field, you can turn off the automatic email field in the category. You can then create a text field, and in the CSS class on the advanced tab, just add validate-email. This way you can have a non-mandatory field that checks to see if a valid email address is entered (if not the label will turn red). You can do a similar thing with validate-numeric too on a text field.



Follow us on twitter http://twitter.com/tamlynsoftware
This ticket is closed, therefore read-only. You can no longer reply to it. If you need to provide more information, please open a new ticket and mention this ticket's number.
Go to top