Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

Form with calculations...

Posted on 2004-09-06
6
Medium Priority
?
279 Views
Last Modified: 2013-12-24
I want to be able to have a user fill out a form telling me what services they want from me, and estimating the cost for the user (e.g., 3 x ServiceA costs $75), then email the form data (which'll include the user's contact info) to me.

I made a PDF form that'll do the calculations for me, but can't email the results to myself, so it's worthless, so I want to do the same kind of thing on a regular web form.

Thus, I'd like to ask-

a)  Is it do-able at all?
b)  Is there a way to make a form field "read-only" so that the calculation results aren't accidentally overwritten by the user?

I think that I can do the calculations via JScript or JavaScript (whichever), but can't find the form field PROPERTIES described anywhere in the FrontPage Help (an oxymoron, btw).  So,
c) Could someone point me to a decent online reference to FrontPage Form field parameters and/or JavaScript code to manipulate same?

{Oh, and if anyone has a solution to emailing the PDF form's data, that'd be cool...}

Thanks in advance!
 Jim 8^)

PS- High points on this question 'cuz it's multifaceted!
0
Comment
Question by:Raven1155
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 2
6 Comments
 
LVL 29

Expert Comment

by:coreybryant
ID: 11995962
Well as far as the form field properties, double click on one while in the WYSIWYG mode.  There you should see the properties.  Or highlight a field right click & choose foirm field properties.

You are right about the JS calculations.  FP, as far as I know, will not do it.

-Corey
0
 

Author Comment

by:Raven1155
ID: 11996719
Corey,

Perhaps I should use the term "parameters" rather than "properties".  I'm asking how one codes JS to, for example, change the value of a textbox.  Is it "T1.value" or "T1.text"?!?!  I would think that there is a reference out there SOMEWHERE...

Your last line, "You are right about the JS calculations.  FP, as far as I know, will not do it." is slightly confusing 'cuz I asked (my fault) about several things.  Which one won't FP "do"?

Thanks!
0
 
LVL 29

Accepted Solution

by:
coreybryant earned 900 total points
ID: 11997013
Sorry - FP won't do the calculations.  

I checked here: http://www.experts-exchange.com/Web/Web_Languages/JavaScript/Q_21033369.html - I think it is T1.value from their responses there

-Corey
0
The top UI technologies you need to be aware of

An important part of the job as a front-end developer is to stay up to date and in contact with new tools, trends and workflows. That’s why you cannot miss this upcoming webinar to explore the latest trends in UI technologies!

 
LVL 31

Assisted Solution

by:seanpowell
seanpowell earned 600 total points
ID: 11999263
Just as an aside - since we have used pdf data in the past for email.

I don't think this is the article I originally worked with (although it does contain a reference to the tutorial on the Acrobat CD that I used) but it looks like it covers the basics pretty well:

http://www.planetpdf.com/mainpage.asp?WebPageID=444

Thanks,
Sean
0
 

Author Comment

by:Raven1155
ID: 12000109
Sean,

Thanks.  It looks to me like these methods utilize the user's email program, requiring them to send the email message (at least if they don't automatically send messages without looking at them, which I hope most people don't do).  I'm looking into server-side message sending (such as when a user clicks on an FP form which has an email address as part of the Submit action).
0
 

Author Comment

by:Raven1155
ID: 12036357
I don't consider this question really answered, but don't want to forget and leave it open indefinitely so will split the points based on perceived (by me) degree of helpfulness to my particular situation.  Thanks for your assistance!
0

Featured Post

Build and deliver software with DevOps

A digital transformation requires faster time to market, shorter software development lifecycles, and the ability to adapt rapidly to changing customer demands. DevOps provides the solution.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction In this tutorial, I'll explain how to create an animated progress meter in a wireframe prototype developed using Axure RP 7.0 - a leading prototyping tool for designing web sites and software. (For more information about Axure and gett…
Objective of This Article In 1990’s, when I was a budding software professional, I had a lot of confusion about which stream or technology, I had to choose to build my career. In those days, I had lot of confusion like whether to choose System so…
The purpose of this video is to demonstrate how to make a WordPress Site faster and smaller in size by cleaning up the database. This will be demonstrated using a Windows 8 PC. Plugin WP Optimize will be used. Go to your WordPress login page. T…
The purpose of this video is to demonstrate how to reset a WordPress password if you are locked out and cannot reset the password. A typical use would be if you cannot access the email to which WordPress would send the password recovery email to…

688 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question