Hi. I have been looking through posts to see if I can create a simplified contact form I could use in a separate area of the website to capture name, email address and an optional message. Unfortunately I am getting a bit confused.
I can see how to copy the code from the existing contact form and put it in a fragment. I can also see how to remove certain fields like the subject. The modified layout appears in the correct page. I am a bit concerned to just publish this to the web in case it brings the site down.
My 2 questions are:
1. Will simply copy and pasting the existing contact us form into a fragment work when I publish or do I need to do other changes?
2. How can I make the comment box optional. Is see a control called (class="actrequired"). I guess this makes the field required. Is there one that makes it optional or do you just remove the class?
Many thanks for any pointers/help
I can see how to copy the code from the existing contact form and put it in a fragment. I can also see how to remove certain fields like the subject. The modified layout appears in the correct page. I am a bit concerned to just publish this to the web in case it brings the site down.
My 2 questions are:
1. Will simply copy and pasting the existing contact us form into a fragment work when I publish or do I need to do other changes?
2. How can I make the comment box optional. Is see a control called (class="actrequired"). I guess this makes the field required. Is there one that makes it optional or do you just remove the class?
Many thanks for any pointers/help