XMod Additional Form Settings
With Business Directory, you may use several forms. In Step 3 (Configure Main Form) we discussed configuring the main data entry listing form. Business Directory also includes the additional forms DNNP-BD6.1 Inquiry Form, DNNP-BD6.1 Inquiry Form 2, DNNP-BD6.1 Sharing Form, and the DNNP-BD6.1 Advanced Search Form. In this section we will discuss the Inquiry forms.
Configure Inquiry Form Settings
Business Directory includes two Inquiry forms (DNNP-BD6.1 Inquiry Form and DNNP-BD6.1 Inquiry Form 2). The DNNP-BD6.1 Inquiry Form is designed to be added to a hidden DotNetNuke portal page on your site and be called when a visitor clicks the 'Make Inquiry' button on the DNNP-BD6.1 List View template. The DNNP-BD6.1 Inquiry Form 2 form is designed to be used when you are showing your listing details using the XMod details module on a separate DotNetNuke portal page. The only difference between these two forms is the DNNP-BD6.1 Inquiry Form includes a close button that closes the new browser window that opens the stand-alone inquiry form.
Step 1.

Step 2.

Step 3.

Save Settings
Step 4. Form Parameters

In the parameters, above, there are two parameters that allow the form to send mail:
parameter name="sEmail"
parameter name="smtpServ"
sEmail - The default value is {XMOD_PortalEmail} and returns the email associated with your portal's Administrator account. This value is the From value used to send emails. You can change this to the email of your choice. In addition to the main form, Primary Contact Email, this is the email address that will also receive emailed inquiries.
smtpServ - The default value is mail.{XMOD_PortalAlias} and will return mail.YOURDOMAIN.com. You can change this value to the SMTP server of your choice. Example: If you are hosting at PowerDNN.com the value would be 127.0.0.1
Change these values if they do not meet your site's email requirements.
Step 5. Save Form
Step 6. Click Done
Add Inquiry Form to a FormView Module and a Page on Your Site
If you decided to use the DNNP-BD6.1 Inquiry Form (Inquiry form opens in a new window), follow these steps below.
1. Create a page on your site and name it, for example, Business Directory Inquiry Form.
2. Add a XMod FormView module to the page.

You will see this message:
This module needs to be configured.

When you are configure mode note the tabid in the URL of the page.
Example: BusinessDirectoryInquiryForm/tabid/59/ctl/Configure/mid/392/Default.aspx
This will be used on the main form for the value of the parameter named InquiryFormTabID which is explained in Step 3 (Configure Main Form).

Done. Good Job!
Add Inquiry Form to a FormView Module on your separate detail page
If you decided to use the DNNP-BD6.1 Inquiry Form 2 form (Inquiry form on separate detail page), follow these steps below.
1. Follow steps 1 through 6, above, managing the DNNP-BD6.1 Inquiry Form 2.

2. We will add this form to our separate detail page later in the lesson - Adding Inquiry Form.
Next >> Configure Advanced Search Form