# 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="/files/66fDTpKTKMoaZL4tlGy1" alt=""><figcaption></figcaption></figure></div>


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.keyfax.biz/product-suite/admin/entities/questions/external-forms-eforms/external-forms-technical.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
