/    Sign up×
Community /Pin to ProfileBookmark

need help to create a form as a simple program

i need help to create a simple program in html and javascript. the aim of this program is to create a new html page and save it in the computer harddisk when a user click on the submit button on the form. the form contains 2 radio buttons, which is the first service or second service, and then i’ll have 10 text box which requires the user to type in the title of the songs. in the computer, there’s a folder with all the songs in html pages. after clicking the submit button, a new html page will be created containing the songs url that links to the particular song typed by the user to those in the folder. how do i do that? please help!! here’s the code i have so far that is without the javascript.

<HTML>
<HEAD>
<TITLE> Overhead Program </TITLE>
</HEAD>

<BODY>
<B><U>Worship Songs Overhead Prgram</U></B><P>

<FORM>

<U>Please choose the service session:</U><P>
<INPUT TYPE=”radio” NAME=”service session” VALUE=”first service”>
First Service<P>
<INPUT TYPE=”radio” NAME=”service session” VALUE=”second service”>
Second Service<P>
<U>Please type in the song titles</U><P>
Song Number 1:
<INPUT TYPE=”text” NAME=”song title” SIZE=”50″><P>
Song Number 2:
<INPUT TYPE=”text” NAME=”song title” SIZE=”50″><P>
Song Number 3:
<INPUT TYPE=”text” NAME=”song title” SIZE=”50″><P>
Song Number 4:
<INPUT TYPE=”text” NAME=”song title” SIZE=”50″><P>
Song Number 5:
<INPUT TYPE=”text” NAME=”song title” SIZE=”50″><P>
Song Number 6:
<INPUT TYPE=”text” NAME=”song title” SIZE=”50″><P>
Song Number 7:
<INPUT TYPE=”text” NAME=”song title” SIZE=”50″><P>
Song Number 8:
<INPUT TYPE=”text” NAME=”song title” SIZE=”50″><P>
Song Number 9:
<INPUT TYPE=”text” NAME=”song title” SIZE=”50″><P>
Song Number 10:
<INPUT TYPE=”text” NAME=”song title” SIZE=”50″><P>

<INPUT TYPE=”submit” VALUE=”Create”>
<INPUT TYPE=”reset”>

</FORM>
</BODY>
</HTML>

to post a comment
JavaScript

1 Comments(s)

Copy linkTweet thisAlerts:
@JonaNov 17.2003 — [font=arial]That can only be done with a server-side language (PHP, ASP, CGI, JSP, etc.), as JavaScript has no access to the server because it is client-side.[/font]

[b][J]ona[/b]
×

Success!

Help @poohbear16 spread the word by sharing this article on Twitter...

Tweet This
Sign in
Forgot password?
Sign in with TwitchSign in with GithubCreate Account
about: ({
version: 0.1.9 BETA 6.2,
whats_new: community page,
up_next: more Davinci•003 tasks,
coming_soon: events calendar,
social: @webDeveloperHQ
});

legal: ({
terms: of use,
privacy: policy
});
changelog: (
version: 0.1.9,
notes: added community page

version: 0.1.8,
notes: added Davinci•003

version: 0.1.7,
notes: upvote answers to bounties

version: 0.1.6,
notes: article editor refresh
)...
recent_tips: (
tipper: @meenaratha,
tipped: article
amount: 1000 SATS,

tipper: @meenaratha,
tipped: article
amount: 1000 SATS,

tipper: @AriseFacilitySolutions09,
tipped: article
amount: 1000 SATS,
)...