Discussion Locked

Help with Frontpage Forms

0 helpful
3 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.

Frontpage Forms
Can I create a form with multiple fields so that when an entry is made in a couple fields a calculation will appear in another field? or is done somehow somewhere else.
I really didn't want to create a database since I only need the data collected to be sent in a text format.
Example. field 1: date, field 2: date, field 3: Auto calc of # of days, field 4: $ amount/day, field 5: auto total. down near the bottom is a field with auto calc of all the totals fields

If needmore info, I can email the form.

Thanks

3 replies

by egobibi

yes it can be done, you can do it with Java scripting
for example:

then call the function either when you submit or when the data is changed.

as for the rest of the calcuations jsut add them in. you will need to add in the code for actually taking the date in a set format to find the days elapsed. A good reference is

http://developer.irt.org/script/217.htm

by whatme?

Over my head. thanks anyway. I tried inserting it into my page but don't know how to call it. All the sites that give tutorials seem to show what maybe I am looking for but again don't show how to actually use it within a form
thanks again

This discussion is closed to new replies.