Submitted by Anonymous (not verified) on Sat, 07/01/2006 - 00:00
Forums

How do I make a 'Form' in IceBreak? 

Bent Rønne

Mon, 07/10/2006 - 00:00

When you use input fields in an Icebreak-ASP page - you make a "form" in HTML. Input field surrounded with the "form" can be "posted" back into the IceBreak Server:

When you want to use the content of the posted form use the "Form" Icebreak-ASP function to retrieve the posted value from the request object.

The following example is IceBreak ASP code in Free-RPG

  <%/free%>
 <html>
  <form action="ex01Form.asp" method="post" name="form1">
   Enter your name, and press enter :
   <input type="text" name="myname">
  </form>
 When I come back to this page my name is: <%= form('myname') %>
 </html>
 <% *inlr = *on; %> 

Note the relation between "<form ... post .... input .. name="MyName" ...

"MyName" is an input text field on the posted form.

Try the code here