Create Custom Form

Preview

Creating custom forms allows you full control over the fields and option values. This means you can turn any input to a pick list, an autofill, omit option values, etc as you have complete control over the form. Form can also be placed on any page you like. First let’s build a very simple custom form.

We need the following:

  • a form HTML tag – <form>
  • an action URL – A URL this form points to
  • inputs to for some parameters to pass to the action url – IDX Broker fields like hp for High Price
  • A search button

First the <from> tag and add an action url. This is the URL endpoint we send the search parameters to. For IDX Broker this will be the subdomain in the IDX Broker account. A couple inputs and a button means we are ready to go.

Example action url:

“http://Search.MyDomain.com/idx/results/listings”

Using the form HTML above and the subdomain in the IDX Broker account we can now build a simple form searching for high price and low price. There are many other fields available from IDX Broker and the MLSs attached to the account.

 

Key Points:

  • The action URL begins with the subdomain in the IDX Broker account
  • You must pass search parameters
  • IDX Broker will NOT support your custom forms
Back to: Advanced Customization > Forms

Data Services Provided By IDX, LLC
Content © 2024 IDX, LLC,
All Rights Reserved.