DNN Professor Test Lab and Product Training Center Training Login
March 13, 2010

Learning Lab 6.1  
Business Directory 6.1 - Step 4 - Configure Inquiry Form  

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.

Manage Business Directory Inquiry Form

Step 2.

Mangae Forms >> Edit >> Click Settings

Step 3.

Business Directory Inquiry Form Settings

Save Settings

Step 4. Form Parameters

Email Parameters for Inquiry Form

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.

Add XMod FormView module to page

You will see this message:

This module needs to be configured.

Module Edit Menu >> Configure XMod Module

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).

DNNP-BD6.1 Inquiry Form and save changes

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.

Manage Business Directory 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


© 2009 by DNNprofessor.com  | Terms of Use | Privacy Statement | Email White Listing