473,382 Members | 1,165 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,382 software developers and data experts.

Questionnaire input

At work we use SNAP survey software. The software is capable of
outputting a survey as a web page, in HTML, which we can tart up with
Javascript for basic form validation if required. When the page is
put onto the web, replies are sent back to an individual as form data
and can be imported into the main package.

We have a large survey on the go which we hope to get several people
inputting into. In addition to the web survey there will be several
thousand paper forms needing to be entered. One way of doing this
would be to create an HTML file and staff can then call this up on
their PCs and input data into the web page (which would be on our
local intranet).

The bugbear about this is that with an HTML page you have to use a
mouse to click on checkboxes, radio buttons etc. In the SNAP software
itself you can use the keyboard, by pressing 1 for the radio button in
a question, 2 for the second one, etc, and using the keyboard in this
way is much faster than clicking with the mouse all the way down the
screen.

I am wondering if there is an easy Javascript routine I could employ
so that upon a keypress being made whilst focus was on a radio button
question, or checkbox question, the element corresponding to that
number would be checked. Also it would be nice if the zero key could
be used on a radio button question to blank all the radios for that
question (which is impossible just for one question using the mouse).

Also, that the enter/return key could be used to jump from one
question to the next.

I appreciate that to provide a complete answer to the above would
require a knowledge of how SNAP constructs the question and the
variables it uses, but if anyone could get me started on the right
road it would be appreciated.

If a respondent wishes me to go into detail on how SNAP does its
information handling for HTML files, I would of course be happy to do
this.

Would anyone be able to provide any advice, please?

Steve Wylie
Jul 20 '05 #1
7 3028

"Steve Wylie" <st*****@hotmail.com> wrote in message
The bugbear about this is that with an HTML page you have to use a
mouse to click on checkboxes, radio buttons etc.


Between the tab key and space bar, most of the controls on a html form
can be acessed by keyboard. That is with explorer. Other browsers have
keyboard shortcuts too. This should be all explained in the help file
for the browser that you have no doubt read.
--
--
Fabian
Visit my website often and for long periods!
http://www.lajzar.co.uk

Jul 20 '05 #2
st*****@hotmail.com (Steve Wylie) writes:
The bugbear about this is that with an HTML page you have to use a
mouse to click on checkboxes, radio buttons etc. In the SNAP software
itself you can use the keyboard, by pressing 1 for the radio button in
a question, 2 for the second one, etc, and using the keyboard in this
way is much faster than clicking with the mouse all the way down the
screen.
Check out a simple version:
<URL:http://www.infimum.dk/privat/SNAPinputform.html>
Also it would be nice if the zero key could be used on a radio
button question to blank all the radios for that question (which is
impossible just for one question using the mouse).
Currently pressing "1" sets the first checkbox, it doesn't toggle it,
so it is necessary to clear it using "0". That is easily changed,
though.
Also, that the enter/return key could be used to jump from one
question to the next.
Done.
but if anyone could get me started on the right road it would be
appreciated.


I hope this is inspiration enough.

All it depends on is that form elements in the same radio/checkbox
group are consecutive.
For some, unapparent to me, reason, Mozilla FB 0.6 acts up when
clicking on a radio group or checkbox group. If anyone has an idea
why, I am most cuirous.

/L
--
Lasse Reichstein Nielsen - lr*@hotpop.com
Art D'HTML: <URL:http://www.infimum.dk/HTML/randomArtSplit.html>
'Faith without judgement merely degrades the spirit divine.'
Jul 20 '05 #3
The problem is that, by default, accessing the elements of an HTML form by
keyboard just means tabbing between each radio and pressing space to select
it. I was hoping for a method that would enable me to use the number keys
on each question of the form, then pressing Return to move onto the next
question.

Steve
Jul 20 '05 #4
>
Check out a simple version:
http://www.infimum.dk/privat/SNAPinputform.html


I cannot get this link to work on my machine. Is it correct?

Steve
Jul 20 '05 #5
st*****@hotmail.com (Steve Wylie) writes:

Check out a simple version:
http://www.infimum.dk/privat/SNAPinputform.html


I cannot get this link to work on my machine. Is it correct?


Doh! No. It is:
<URL: http://www.infimum.dk/privat/SNAPforminput.html >

/L
--
Lasse Reichstein Nielsen - lr*@hotpop.com
Art D'HTML: <URL:http://www.infimum.dk/HTML/randomArtSplit.html>
'Faith without judgement merely degrades the spirit divine.'
Jul 20 '05 #6
That's excellent, Lasse, thank you very much. Now all I have to do is
figure out how the active parts work and transfer it for my SNAP HTML file!

If I run into any big difficulties, can I keep hold of your e-mail address
(lr*@hotpop.com) and e-mail you direct about it?

Thanks again

Steve
Jul 20 '05 #7
"Steve Wylie" <st*****@nospambtinternet.com> writes:
That's excellent, Lasse, thank you very much. Now all I have to do is
figure out how the active parts work and transfer it for my SNAP HTML file!
It is all in the Javascript. I tried not to add anything to the form
itself.

It expects radiobutton groups and checkbox groups to be consequtive in
the elements collection.
If I run into any big difficulties, can I keep hold of your e-mail address
(lr*@hotpop.com) and e-mail you direct about it?


Sure. :)
/L
--
Lasse Reichstein Nielsen - lr*@hotpop.com
Art D'HTML: <URL:http://www.infimum.dk/HTML/randomArtSplit.html>
'Faith without judgement merely degrades the spirit divine.'
Jul 20 '05 #8

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: hp | last post by:
I'm currently developing an online questionnaire system for my dissertation and I have now come across a few problems. I'm developing an online approach recommendation system. The basic feature is...
3
by: Jason A. Thompson | last post by:
Dear Access Gurus, I have a database which I hoped to use to administer questionnaires, or rather that someone who knows nothing about Access could use to administer them. Each q'aire item is on...
3
by: Tom_F | last post by:
To comp.databases.ms-access -- I have a questionnaire for which I would like to design a MIcrosoft Access form. I understand that the proper Access table structure would be: Respondent_ID ...
0
by: Christian Zotter | last post by:
Hello NG, I am a student at UDA in Austria, Austrian Partner of International Universities. To finnish my study i have to do a final year project. I have choosen the topic 'Evaluation of low...
1
by: javedna | last post by:
Can PHP help with the following as I have tried in the MYSQL Forums and cant get any help Thanks Nabz ---------------------------------------- Hi I am developing a PHP MYSQL questionnaire...
7
by: javedna | last post by:
Hi guys Ive got a simple problem, im designing an online questionnaire and on submission the coding that I have used to validate whether a user has filled in all the questions is supposed to...
2
by: Vili | last post by:
Hi all I am having problems with creating an functional questionnaire with asp.net 2.0 and MSSQL 2005 database. I have a table with field id (key & auto int), clientId (int), QuestionId...
10
by: fishlab | last post by:
Hello I'm using visual basic 2005 and i'm really useless and completely stuck. i'm making a questionnaire with a track bar from 1-7 to collect reponses. I have three forms. The first form...
20
by: gremlin | last post by:
http://www.cilk.com/multicore-blog/bid/6703/C-Inventor-Bjarne-Stroustrup-answers-the-Multicore-Proust-Questionnaire
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.