Java Form Processing - TechRepublic
Question
March 24, 2009 at 06:16 PM
asalive

Java Form Processing

by asalive . Updated 17 years, 3 months ago

I know this is a question that is asked all too often. I need to have a web form that will print the data as it appears once it is filled out, and have the results sent to multiple email accounts. Scripting of any sort isn’t really my stong point, so i would need someone to hold my hand throught he process… To make matters worse the only “Web” software i have available to me is FrontPage.

To date i have been able to get form results to email to multiple accounts, OR print out as it appears…getting it to do both is the problem. I think i am close on getting this set-up but my lack of knowlage is starting to show. I think the issue is when the “Submit” button is pressed it is going straight to the javascript and not processing the FrontPage aspects of the form.

I have attached sample of my form…i will say right off the bat i can not take credit for the JavaScript that is in it, i found this script on a different site.






Type Here


-body-

p>Employment Status:   
Full
Time   
input type=”radio” name=”Employment_Status” value=”Part-Time”>Part-Time  
input type=”radio” name=”Employment_Status” value=”Contract”>Contract

p>Email Accounts Required:   
input type=”checkbox” name=”Corporate_Email” value=”Yes”>Corporate   
input type=”checkbox” name=”Station_Email” value=”Yes”>Station Vanity   
input type=”checkbox” name=”No_Email” value=”Yes”>None   
input type=”checkbox” name=”Other_Email” value=”Yes”>Other   
input type=”text” name=”Email_other” size=”20″ value=”Specify Other…”>

p>Email Groups to Be assigned:   
input type=”checkbox” name=”Group_All_Staff” value=”Yes”>All Staff   
input type=”checkbox” name=”Email_Group_Sales” value=”Yes”>Sales   
input type=”checkbox” name=”Email_Group_Programming” value=”Yes”>Programming   
input type=”checkbox” name=”Email_Group_None” value=”Yes”>None   
input type=”checkbox” name=”Email_Group_Other” value=”Yes”>Other   
input type=”text” name=”Email_Group_Other” size=”20″ value=”Please Specify Other…”>

p>Application Access Rights:   
input type=”checkbox” name=”CRM” value=”Yes”>CRM   
input type=”checkbox” name=”Viero” value=”Yes”>Viero   
input type=”checkbox” name=”VPN” value=”Yes”>VPN   
input type=”checkbox” name=”PromoSuite” value=”Yes”>PromoSuite   
input type=”checkbox” name=”Other_App” value=”Yes”>Other   
input type=”text” name=”App_access_other” size=”20″ value=”Please Specify Other…”>

-/form-

hr>

 

Sales Manager:______________________________________   
Date: _____________________

 

 

Program Director:____________________________________   
Date:______________________

 

 

Promotions Director:__________________________________   
Date:______________________

/div>
input type=”submit” onClick=”printSpecial()” value=”Print and Submit”>

This discussion is locked

All Comments