473,498 Members | 1,639 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

how to display form processing on same screen as form?

I started a JS project (my first) a year or two ago, got distracted &
am just now getting back to it.

By luck I had somehow found a way to collect data with a form, perform
calculations with JavaScript and display the form and calculated
results on the same screen.

Now I can't figure out how to do that again. The only methods of
reporting the calculation results seem to display a completely new
screen/window.

I just want to collect some numeric input data with slider widgets or
text boxes for an alternate method and display additional calculated
results 'real time' as the slider is adjusted. If this can't be done,
after a text box entry is made. Ideally the results would display
without a 'submit' button click.

Not only am I new at this, I'm rusty from the last time I was new.

Thank you

Murray

Jul 19 '07 #1
4 2368

murrayatuptowngallery wrote:
I started a JS project (my first) a year or two ago, got distracted &
am just now getting back to it.

By luck I had somehow found a way to collect data with a form, perform
calculations with JavaScript and display the form and calculated
results on the same screen.

Now I can't figure out how to do that again. The only methods of
reporting the calculation results seem to display a completely new
screen/window.

I just want to collect some numeric input data with slider widgets or
text boxes for an alternate method and display additional calculated
results 'real time' as the slider is adjusted. If this can't be done,
after a text box entry is made. Ideally the results would display
without a 'submit' button click.
Sounds like you don't need a form at all. If you detect that the
slider widgets can't be used, render a fieldset with text inputs. Use
the onchange event of the text inputs to display results.

Jul 19 '07 #2
OK...that sounds good.

Regarding detection of sliders not being usable, I don't know what to
look for, but I just have this feeling here are alot of people whose
browsers balk at JS and who knows what else because of default
firewall settings...I know I personally stopped using Zone Alarm
because I was sick of every print job being flagged as an internet
call and my family didn't know what to do with all the alarms (crying
wolf for real or not?).

So I went back to the basic Windows XP firewall and blocks an awful
lot. It's easier to say OK than figure out an exception for so many
web pages I may not visit again.

So that is the basis for my Luddite fear of web pages that won't run
(started thinking once I get it working in JS, to convert it to PHP to
run it on the server without censorship).

I'm assuming I can capture the fieldset inputs as numbers, as that's
the kind of input I need to be then processed with javascript math
functions.

Thanks

Murray

Jul 20 '07 #3

"murrayatuptowngallery" <mu*******************@yahoo.comwrote in message
news:11**********************@22g2000hsm.googlegro ups.com...
OK...that sounds good.
Lost the context here. Please quote what you are replying to.
>
Regarding detection of sliders not being usable, I don't know what to
look for, but I just have this feeling here are alot of people whose
browsers balk at JS and who knows what else because of default
If they do not have JS enabled, you will need a form and you will not be
able to display the results in the same page. As for sliders, detecting
whether they will work involves detecting whatever features they require (eg
getElementById.) If you can't detect the required features, you can output
text inputs in lieu of the sliders.
firewall settings...I know I personally stopped using Zone Alarm
because I was sick of every print job being flagged as an internet
call and my family didn't know what to do with all the alarms (crying
wolf for real or not?).

So I went back to the basic Windows XP firewall and blocks an awful
lot. It's easier to say OK than figure out an exception for so many
web pages I may not visit again.

So that is the basis for my Luddite fear of web pages that won't run
(started thinking once I get it working in JS, to convert it to PHP to
run it on the server without censorship).
Without sliders I assume. There is nothing wrong with using JS widgets (if
they are competently written) as long as you implement feature detection
before presenting them.
>
I'm assuming I can capture the fieldset inputs as numbers, as that's
the kind of input I need to be then processed with javascript math
functions.
Yes, you can use text inputs and validate the entries with regular
expressions to make sure they are numeric.

Jul 20 '07 #4
Thank you

Jul 21 '07 #5

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

Similar topics

2
1492
by: Jack | last post by:
Hi, I got a simple form where one needs to input data. The data is being processed in an asp page. However, I cannot figure out why couple of values I am typing in the form is not being retrived...
6
9443
by: John Ortt | last post by:
Hi there everyone, I have a part info form which has a faded image of our company logo as a background. I want to replace the faded image with a bright red warning image on items which have run...
1
1831
by: C-Sharper or C-Hasher, one of the two | last post by:
Hi Guys and Gals, I have a couple of problems related to centering forms on top of each other. I have a winforms app that has a status form that I want to popup in the center of my main form...
0
902
by: FatboyCanteen | last post by:
I am doing a Application to compute extra bonus of each employee I am using for loop to do for each employee How to make a screen dynamically display each computation of employee bonus What I...
5
3109
by: Geoff Pennington | last post by:
My VB.Net app reads an Excel file, processes it one row at a time, and when processing is complete writes the row to a database. The typical file will have several thousand rows and may take a...
10
1723
by: peter hansen | last post by:
I tried a couple of weeks ago but I'll try again :D I old VB6-days it was possible to unload a form bu using the Unload(Form) command. I have tried the Close-function but it'll unload the entire...
2
3931
by: Joe-Paul | last post by:
Randy: Hope you get this. I am the one that wrote regarding trying to get my boss' computer screen to fit my program (rather than the other way around). Thanks for the hint. I went to the...
2
8460
by: rn5a | last post by:
The different Validation controls like RequiredFieldValidator, RangeValidator etc. have a property named Display. This property can have 3 values - Dynamic, Static & None. What's the difference...
9
4091
by: tshad | last post by:
I have a Windows App that is doing some work and then writing a "Now Processing..." line to the status line of the window as well as the Textbox on the form. But the problem is that the work is...
0
7002
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
7165
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
1
6887
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
7379
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
1
4910
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 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 a new...
0
4590
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
3093
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
3085
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
656
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.