Contact Form Modification

This forum is only for questions or discussions about working with the mojoPortal source code in Visual Studio, obtaining the source code from the repository, developing custom features, etc. If your question is not along these lines this is not the right forum. Please try to post your question in the appropriate forum.

Please do not post questions about design, CSS, or skinning here. Use the Help With Skins Forum for those questions.

This forum is for discussing mojoPortal development

This forum is only for questions or discussions about working with the mojoPortal source code in Visual Studio, obtaining the source code from the repository, developing custom features, etc. If your question is not along these lines this is not the right forum. Please try to post your question in the appropriate forum.

You can monitor commits to the repository from this page. We also recommend developers to subscribe to email notifications in the developer forum as occasionally important things are announced.

Before posting questions here you might want to review the developer documentation.

Do not post questions about design, CSS, or skinning here. Use the Help With Skins Forum for those questions.
This thread is closed to new posts. You must sign in to post in the forums.
11/23/2009 3:23:50 AM
Gravatar
Total Posts 70

Contact Form Modification

 

Hello,

I want to edit the Contact Form that it has a multiple Subject presented in an Optionlist that when the user select a specific Subject it sends to its corresponding email recipient.

Ex.

Subject                Recipient

About the Sub     about@about.com

How to Dance     dance@dance.com

 

How can I implement this? Help please.

Your help will be greatly appreciated.

Thank you.

11/23/2009 5:26:07 AM
Gravatar
Total Posts 550

Re: Contact Form Modification

Hi,

Sorry ,currently not support this feature but you can add a page for any recipients and add on instance of the Contact Form on it.

Hope Helps,

Asad

11/24/2009 4:05:41 AM
Gravatar
Total Posts 70

Re: Contact Form Modification

Hello Asad,

You said;

 - you can add a page for any recipients --How do I execute these? What are the files involve in adding a page?



-add on instance of the Contact Form on it. - How do I do it?

 

Your help will be greatly appreciated.

 

Thank you.

 

 

11/24/2009 4:18:40 AM
Gravatar
Total Posts 550

Re: Contact Form Modification

Hi,

1- Add a page to your site and name it "Contact Us" for example.

2- Add another page under "Contact Us" and name it "Support" for example.

3-Add another page under "Contact Us" and name it "Sales" for example.

4- Go to the "Support" page and add a Contact Form Module instance  on it.

5- Go to the "Sales" page and add a Contact Form Module instance on it.

Hope Helps,

Asad

12/1/2009 9:53:25 PM
Gravatar
Total Posts 70

Re: Contact Form Modification

Hello,

I have a created different instances of contact form on

Products page

Services page

How will I configure that everytime the user Use Product page Contact form it sends to product@product.com

and if it use the contact form on the Services it sends to servcice@services.com

 

 

Your help will be greatly appreciated.

 

Thank you.

12/2/2009 4:40:23 AM
Gravatar
Total Posts 550

Re: Contact Form Modification

Hi,

In the Products page click gear icon(or setting link ) on top of the Contact Form instance to see the settings of the Contact Form instance then enter product@product.com in the email section.

n the Services page click gear icon(or setting link ) on top of the Contact Form instance to see the settings of the Contact Form instance then enter servcice@services.com in the email section.

Hope Helps,

Asad

12/2/2009 9:06:26 PM
Gravatar
Total Posts 70

Re: Contact Form Modification

Hello,

the Email Address section does not have textbox where I can type in the email address.

I try configuring it on :

Advanced Tools > Feature Installation/Configuration > Contact Form > Feature Settings

ContactFormEmailSetting . I change the control type from ISettingControl to Textbox

and also added the following on Regex Validation Expression (\b[A-Z0-9._%+-]+@[A-Z0-9.-]+\.[A-Z]{2,4}\b)

then Update but the changes I made does not have any effect.

 

How can activate the textbox so that I can input Email Address.

 

Thank you for your great help.

Cesse

12/3/2009 12:27:55 AM
Gravatar
Total Posts 550

Re: Contact Form Modification

Hi Cesse,

I did told about the pages that you created.

This is strange for. I think this is a skin issue that you can't see the Email Address textbox. So please change your skin and try again.

If you have an online url , I can see it.

Best,

Asad

 

12/3/2009 12:41:52 AM
Gravatar
Total Posts 70

Re: Contact Form Modification

Hello Asad,

We managed to display the textbox on email address part.

try configuring it on :

Advanced Tools > Feature Installation/Configuration > Contact Form > Feature Settings

ContactFormEmailSetting . I change the control type from ISettingControl to Textbox

and also added the following on Regex Validation Expression (\b[A-Z0-9._%+-]+@[A-Z0-9.-]+\.[A-Z]{2,4}\b).

I think the changes was applied on the new instance of the conttact form.. not on the contact form added before the configuration.

One more thing we did was delete the existing contact form and add a new one.

Thank you greatly.

Cesse

12/3/2009 1:00:37 AM
Gravatar
Total Posts 70

Re: Contact Form Modification

Hello again,

I try to input my email address on the textbox and save but it does not save the email address that I type.

on the Advanced Tools > Feature Installation/Configuration > Contact Form > Feature Settings  

REsource File: ContactFormResources

Setting Key: ContactFormMAilSetting

Control Type: Textbox 

Control Source: (Empty textbox)

Setting value:(Empty textbox)

Sort Order: 100

 

Is the mailsetting correct?

Your help is greatly appreciated.

Thanks.

Cesse

12/3/2009 1:29:39 AM
Gravatar
Total Posts 550

Re: Contact Form Modification

You NO need to go to dvanced Tools > Feature Installation/Configuration > Contact Form > Feature Settings

You must go to you pages that you created.

Do you added Contact form on your pages?

 

You must sign in to post in the forums. This thread is closed to new posts.