4. Quote Forms

CQPIM allows you to add quote forms to your website. It currently supports two quote forms on the frontend via shortcodes, and one in the client dashboard once the client is logged in (for existing clients).

The two frontend form options trigger different processes. The first is [cqpim_frontend_form] which will create a client account, email the client details to their dashboard and also generate a quote with the answers to the questions on the form added to the Project Brief section in the quote.

The second shortcode, [cqpim_registration_form] , will just create a client account with no quote.

To create a form, click Quote Forms in the CQPIM admin menu, then click New Quote Form. Give the form a title and choose whether or not the form is for anonymous users or existing clients.

This is an important step, as the anonymous frontend forms will automatically add certain fields when it is rendered through the shortcode. This is so that the plugin has the minimum information required to create a new client in the plugin.

You can now start adding fields. Make sure you give them names, otherwise when the data comes in you might struggle to understand which field is which.

How do they work?

Once you’ve created your forms, head over to the plugin settings. You’ll see a quote forms tab. In this tab you can choose which form is used in which place. Once you’ve set these options you can use the [cqpim_frontend_form] shortcode to display your anonymous form anywhere in your theme.

The client dashboard form will display automatically in the menu of the client dashboard.

When a form is completed, a client will be created (anonymous only). The plugin will then generate a quote and add the contents of the form fields to the project brief metabox. It will also send an email to your sales email address letting you know that a new quote requires your attention. You can then create milestones and tasks in the quote as normal.