# External Forms - Technical

There follows a simple example eForm (ASP.NET i.e. **.ASPX** file extension) which accepts a single parameter **p1** and returns items **field1** and **field2**.

{% code lineNumbers="true" %}

```aspnet
<%@ Page Language="VB" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<!--
    This is a sample eForm demonstrating how an eForm can be set up using javascript with no server-side scripting.
    All details are passed into the eForm on the querystring and results are posted back to InterView to kfPostUrl.
-->
<script runat="server">
</script>

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
  <title></title>
</head>
  <body>
    <form action="#" id="form1" method="post">
      <h1>Processing input p1=<%= Request.QueryString("p1")%></h1>
      <div>
        <p><label for="field1">Field 1</label><input type="text" id="field1" name="field1" /></p>
        <p><label for="field2">Field 2</label><input type="text" id="field2" name="field2" /></p>
      </div>
      <input type="submit" value="Continue" />
    </form>
    <script type="text/javascript">
       document.getElementById("form1").action = decodeURIComponent(document.location.hash.replace(/^#/, ''));
    </script>
  </body>
</html>
```

{% endcode %}

The returned data can be written to a Databox as normal. Individual items can then be accessed by use of Expressions, e.g.:

<div align="center"><figure><img src="https://2882349412-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MARm6St_qFGM52R3pBa%2Fuploads%2FZpEVNOjB8HH1F3A1X4eU%2F2023-04-26_15h08_11.png?alt=media&#x26;token=24b46c16-9f1a-4678-afa6-705a2f85f45a" alt=""><figcaption></figcaption></figure></div>
