Submit a form. It will use the 'set' attribute on input elements, for the submitted values.

        <fetch page="newCustomer"/>
        <definePage name="newCustomer" url="newCustomer.cfm">       
		<form name="newCustomerForm" id="newCustomerForm" action="..." method="post">
			<dbInsert dbTable="Customers" id="CustomerId" />
			<input type="text"  name="Name" set="..."/>
			<input type="text"  name="address" set="..."/>
			<input type="text"  name="postcode" set=".../>
			<input type="select"  name="countryID" set="..."/>
			<input type="textarea" name="Notes" set = ".../>

If you want to verify that the values in a submitted form are the same when the form is retrieved. i.e. where you:

Then use the verify's valueattribute. Also note that the CustomerId variable is set via the dbInsert element, which monitors the customers database table and extracts the new row caused by the sumbit action.
        <fetch page="newCustomer"/>
        <fetch page="newCustomer" queryString="id=#{CustomerId}"/>
        <verify valueattribute="set"/>
        <definePage> above...</definePage>
Variable expansion is first performed on global vaiables and then on the javascript of the current HTML page.

1. Allowed Content


2. Attributes

AttributeValue(s) Default Value

By default the first form in the current page is used.


If set to true, prints out warings about any sytax problems in the returned page.

true   |  false
stepid ID #IMPLIED
useparentfordefault CDATA #FIXED = page

3. Content Declaration


4. Parent Elements

steps   -- This element contains all the test steps.
suite   -- Define a set of steps which can be "called" from a run element.
with   -- Group together a set of steps that use the same page definition.

Top Elements || All Elements || Tree

test DTD