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
marius
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
 Marius Jost
65719 HOFHEIM A TS
info@transpanet.eu
Saturday, 02 August 2014 11:53 AEST 30'
Tim
BF Quiz Plus 3 Years, BF Survey 12 Months
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.
http://tamlynsoftware.com/download/bf-survey/bf-survey-2-1-3.html

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.

regards

Tim

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