<input type="hidden" name="sokvag" value="C:\bilder\">
<input type="text" size="10" name="identitet">
<input type="radio" name="bildformat" value=".bmp"><br>
<input type="radio" name="bildformat" value=".gif"><br>
<input type="text" size="50" name="bild" value="[b]<%=Request.form("sokvag") & Request.form("identitet") & Request.Form("bildformat") %>[/b]" maxlength=20
Style="Background: YELLOW; color: BLACK width:1,5cm">
Kan någon tala om hur man kan lägga ihop informationen i tre st separata fält i ett formulär till ett fält i samma formulär.
<input type="hidden" name="sokvag" value="C:\bilder\">
<font size="-1"><b><font color="Maroon">Identitet:</font></b></font>:
<input type="text" size="10" name="identitet" maxlength=10
Style="Background: blue; color: white; width:2,5cm">
<Legend><b><font color="Maroon"><font size="-1">Bildformat</font></font></b></legend>
<font size="-1"><b><font color="Maroon">.bmp</font></b></font>:
<input type="radio" name="bildformat" value=".bmp"><br>
<font size="-1"><b><font color="Maroon">.gif</font></b></font>:
<input type="radio" name="bildformat" value=".gif"><br>
Det jag vill göra är att automatiskt ge fältet ’bild’ nedan en sträng bestående
av de tre ovanstående fältsträngarna ’sokvag’ , ’identitet’ och ’bildformat’
Alltså fältet ’bild’ skall innehålla en sträng ex. C:\bilder\landskap.jpg
<font size="-1"><b><font color="Maroon">Bildens sökväg och namn:</font></b></font>:
<input type="text" size="50" name="bild" value="sokvag + identitet + bildformat" maxlength=20
Style="Background: YELLOW; color: BLACK width:1,5cm"><br>
