Ask a Question related to Macromedia Dynamic HTML, Design and Development.
-
smiles12 #1
form project
ok, here is the question....a big kiss for whoever figures it out...I am trying
to make a form that will do the following...
1. from a list of choices lets the user select on thing from a list
2. have the selected item appear on another page after they hit submit.
so, for example,
from a list saying
1. see spot run
2. he ran fast
3. I hate forms
if the user selects he ran fast and then hits submit he should be presented
with a page that shows him his selections in a list form.
HELP!
smiles12
smiles12 Guest
-
New Project - How would you do that...
Hi, Have to create a WebService which will take back data from database (no big deal) AND (here it starts to begin tricky), populate an Excel... -
my first asp.NET project
im traying to develope my first asp.NET site in the visual studio.NET 2003, after executing the project , it display the fellowing error message :... -
Project Help
Hi I am fairly new to Director but would to get started, I am using Version 8 and would like suggestions on a project to start on. Any... -
Large PHP Project... Need Project Manager
Hey, I've got a nice CMS (in quite stable 2.0 form) that I need a Project Manager who can just deal with some bugs/answer questions for the next... -
Project Seven Down?
The Project 7 Web Site and forums are "not available" all day. Does anyone know what is happening with them? Thanks...Mike -
laksinu #2
Re: form project
Hi There,
You can do this using Jump menu, this can be accessed from
Insert > Form > Jump Menu and follow the instructions .
Thanks,
laksinu
laksinu Guest
-
smiles12 #3
Re: form project
hey, thanks for the response, but it's a little vague, could you tell me a
little more about what I have to do? I played around with the jump menu but
still didn't understand how to process the users choices....
thanks
smiles12 Guest
-
laksinu #4
Re: form project
Create three pages with
( a.html )
( b.html )
( c.html )
for your ease I am placing the code here below create a new page called
"index.html" and put the code there and save it in the same folder where you
have a.html, b.html, c.html now run the menu it should work
<%@LANGUAGE="VBSCRIPT" CODEPAGE="1252"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>Untitled Document</title>
<script type="text/JavaScript">
<!--
function MM_jumpMenu(targ,selObj,restore){ //v3.0
eval(targ+".location='"+selObj.options[selObj.selectedIndex].value+"'");
if (restore) selObj.selectedIndex=0;
}
function MM_findObj(n, d) { //v4.01
var p,i,x; if(!d) d=document;
if((p=n.indexOf("?"))>0&&parent.frames.length) {
d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++)
x=d.forms[n];
for(i=0;!x&&d.layers&&i<d.layers.length;i++)
x=MM_findObj(n,d.layers.document);
if(!x && d.getElementById) x=d.getElementById(n); return x;
}
function MM_jumpMenuGo(selName,targ,restore){ //v3.0
var selObj = MM_findObj(selName); if (selObj)
MM_jumpMenu(targ,selObj,restore);
}
//-->
</script>
</head>
<body>
<form name="form1" id="form1">
<select name="menu1" onchange="MM_jumpMenu('parent',this,0)">
<option value="a.html">see spot run</option>
<option value="b.html">he ran fast</option>
<option value="c.html">I hate forms</option>
</select>
<input type="button" name="Button1" value="Go"
onclick="MM_jumpMenuGo('menu1','parent',0)" />
</form>
</body>
</html>
laksinu Guest
-
smiles12 #5
Re: form project
I really appreciate the code, but unfortunately I think I need something other
than a jump menu, I thought it would work but tried it and it doesn't esactly
fit with what I need to do.
let me explain in more detail what I need to do...
I am making a form with several lists from which users can select an item.
below these few lists there is a submit button which directs the user to a page
that displays his or her choices.
I'm hoping that this is easier than I think it is because I'm lost in oceans
of forms and database information I really don't understand. Again thanks so
much for your help, I appreciate it.
Karin
smiles12 Guest



Reply With Quote

