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.
7/6/2010 5:15:05 AM
Gravatar
Total Posts 70

Re: Contact Form Modification

Hi,

This is on the Contact Form Feature Instance Settings :

The text box for Email Address to receive Submissions and Display Aliases for receiving  Address can only hold 250 character of user input by Default, I have to input more than 250 characters. 

Can I change the text box to text area? Or any suggestions? 

 

Thanks.

 

 

Cesse

11/22/2011 11:41:00 PM
Gravatar
Total Posts 8

Contact Form customization

Hello,

Yes I already added contact form on my page.

How can i dynamically change the form fields Like this

First Name*
Last Name*
Company Name*
Email*
Phone number*
Select country*
State*
Comments*

Please help.

Thanks,

Yusuf

 

11/23/2011 7:35:01 AM
Gravatar
Total Posts 115
mojoPortal Community Expert

Re: Contact Form Modification

You cannot modify the fields using the standard contact form. The best way is to purchase Form Wizard Pro here or to clone the contact form and customize it.

11/23/2011 7:36:42 AM
Gravatar
Total Posts 18439

Re: Contact Form Modification

Hi,

You would either need to implement your own custom feature or you could purchase my add-on product Form Wizard Pro.

You should not modify the code in any existing features

Hope that helps,

Joe

3/1/2012 6:16:51 PM
Gravatar
Total Posts 104

Re: Contact Form Modification

Is the process for cloning a page described anywhere?  Just not sure what files are needed where or what files are needed to be copied...

Thanks! : )

3/1/2012 6:43:58 PM
Gravatar
Total Posts 2239

Re: Contact Form Modification

Hi,

Do you mean cloning a feature? If so, you can read about that here. That article discusses cloning entire features which includes supporting pages for features.

If you mean, "How do I clone a CMS Page?", then the answer is there isn't a way to do that. If you want a page to be setup the same as an existing page, but with it's own data, you need to create the page and add the features to it that you want on it. If you want a page to use features that are on another page, with the same data, you can take a look at the Global Content setting.

HTH,
Joe D.

3/2/2012 8:32:47 AM
Gravatar
Total Posts 104

Re: Contact Form Modification

Thanks again for the information - I really just want to take something like the contact form, and change items on the form and be able to plug it back in like the initial examples with user controls... doesn't look like this would be an easy process though... 

3/2/2012 8:50:35 AM
Gravatar
Total Posts 18439

Re: Contact Form Modification

Cloning a feature is an advanced thing that requires an experienced developer who fully understands the existing code and what needs to be changed and why.

Depending on what exactly your needs are, you might find that my add on product Form Wizard Pro would meet your needs and be easier than doing custom development. You can try it out on our demo site to see if it meets your needs.

Hope that helps,

Joe

3/2/2012 10:12:44 AM
Gravatar
Total Posts 104

Re: Contact Form Modification

Thanks again for your prompt responses and information.  :)

The goal I am working on is to integrate all existing functionality of an existing web site, into a new CMS web site, based on mojoPortal.  (Otherwise they will have to continue to run in parallel, linking back and forth between them.)

As there are a number of content items that are a bit unique and not necessarily provided for in the standard set of functionality available through mojoPortal (such as displaying data from a database query, multiple map point locations on one map, or storing form submissions into a different database), I am trying to work through the basics of getting things set up that would allow me to begin exploring any potential custom mojoPortal extensions.

While the Form Wizard Pro looks like a great product, I am sure to encounter items from the existing site that cannot be addressed or replicated through this product as they are not forms.

3/2/2012 10:58:07 AM
Gravatar
Total Posts 104

Re: Contact Form Modification

If possible, I would really appreciate any assistance that might be provided in working through the Cloning an Existing Feature... https://www.mojoportal.com/cloning-an-existing-feature.aspx

I believe that I have started out ok, but once I get to "Change the namespace and review the code for any links where the path needs to be modified to reflect your custom folder."  I'm not entirely certain what files need to be changed... I changed the name of the namespace within ContactFormConfiguration.cs, ContactForm.ascx.cs, MessageListDialog.aspx.cs from mojoPortal.Web.ContactUI to mojoPortal.Web.ContactUI_alt1, then appended the "_alt1" to the Inherits items on MessageListDialog.aspx and ContactForm.ascx.

Then, when I get to the next step, "Copy the BlogResoures.*.resx files from mojPortal.Features.UI/App_GlobalResources to the App_GlobalResources folder in your wbe project..."  - the web project does not contain any such "App_GlobalResources", is this just a new folder that should be added?

Thanks again for your assistance.

3/2/2012 11:49:14 AM
Gravatar
Total Posts 104

Re: Contact Form Modification

If you have time, could you provide a bit more information on the GUID process?

"You can generate a new guid using MS SQL like SELECT newid(), or in .NET code using Guid.NewGuid().ToString()"

Can this be any GUID generated from anywhere?

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