Solved

Form with calculations...

Posted on 2004-09-06
6
238 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
  • 3
  • 2
6 Comments
 
LVL 29

Expert Comment

by:coreybryant
Comment Utility
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
Comment Utility
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 300 total points
Comment Utility
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
How to improve team productivity

Quip adds documents, spreadsheets, and tasklists to your Slack experience
- Elevate ideas to Quip docs
- Share Quip docs in Slack
- Get notified of changes to your docs
- Available on iOS/Android/Desktop/Web
- Online/Offline

 
LVL 31

Assisted Solution

by:seanpowell
seanpowell earned 200 total points
Comment Utility
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
Comment Utility
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
Comment Utility
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

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

Turn A Profile Picture Into A Cartoon Using Photoshop And Illustrator This tutorial will teach you how to make a cartoon style image out of a regular picture. I have tried to keep the tutorial as simple as possible. I used Adobe CS4 for this tuto…
When setting up new project requests for our site, one of the most powerful tools our team has available to use is Axure (http://www.axure.com/). It’s a tool for creating software and web prototypes that can function and interact as if it were the a…
The purpose of this video is to demonstrate how to exclude a particular blog category from the main blog page. This is can be used when a category already has its own tab, or you simply want certain types of posts not to show up on the main blog. …
The purpose of this video is to demonstrate how to prevent comment spam on a WordPress Website. This will be demonstrated using a Windows 8 PC. Plugin Akismet will be used. Go to your WordPress login page. This will look like the following: myw…

771 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

Need Help in Real-Time?

Connect with top rated Experts

10 Experts available now in Live!

Get 1:1 Help Now