VISIT AND LIKE OUR PAGE ON FACEBOOK
TAKE A LOOK AT OUR TWEETS ON TWITTER
SUBSCRIBE TO THE JOOMFREAK RSS FEED
VISIT OUR CHANNEL ON YOUTUBE

Account Details

Change your name, email, password or permanently delete your account. Change settings

We offer several ways you can get support from our experts: Support ForumKnowledgebaseNewsletter

Your Forum Posts

No posts to display.

Welcome, Guest
Username Password: Remember me

[solved] contact form requiered field: subject
(1 viewing) (1) Guest

TOPIC: [solved] contact form requiered field: subject

[solved] contact form requiered field: subject 16 Nov 2016 11:42 #9678

Hello everyone

(native language Swiss German, sry)

Using the standard contact form of Joomla I have a problem with the non visible subject-field.

Whenever somebody uses my contact field the following message is displayed:
Feld benötigt: Betreff
(English: Field required: Subject)

I don't know how to make the subject field visible. Shouldn't that be the case by standard?

Thanks in advance
Last Edit: 01 Dec 2016 10:41 by oPhilippeo. Reason: solved

  • Posts:28
  • oPhilippeo
  • Junior Boarder
  • OFFLINE
  • Karma: 0

Re: contact form requiered field: subject 22 Nov 2016 02:53 #9694

Hello,
Which version do you use? Joomla 2.5 or joomla 3?

joomfreak

  • Posts:2818
  • isupport
  • Moderator
  • OFFLINE
  • Karma: 0

Re: contact form requiered field: subject 22 Nov 2016 09:23 #9698

I use Joomla! 3.6.4 Stable
PHP Version: 5.5.40

  • Posts:28
  • oPhilippeo
  • Junior Boarder
  • OFFLINE
  • Karma: 0

Re: contact form requiered field: subject 23 Nov 2016 10:04 #9706

You can edit file templates/jf_calla-exteriors/html/com_contact/contact/default_form.php, add below code after email field:
 
<div class="control-group">
<div class="control-label"><?php echo $this->form->getLabel('contact_subject'); ?></div>
<div class="controls"><?php echo $this->form->getInput('contact_subject'); ?></div>
</div>
 


joomfreak
The following user(s) said Thank You: chrisli

  • Posts:2818
  • isupport
  • Moderator
  • OFFLINE
  • Karma: 0

Re: contact form requiered field: subject 01 Dec 2016 10:37 #9760

That worked, thank you

  • Posts:28
  • oPhilippeo
  • Junior Boarder
  • OFFLINE
  • Karma: 0

Re: [solved] contact form requiered field: subject 26 May 2017 11:36 #10274

I tried to do the same, and I changed the position of the new code more times but the shape isn't good.

I upload a pic to show you.
How can i fix it?

If simple i don't want this required field? there is a way to have just the name, email, and the message?
This image is hidden for guests. Please log in or register to see it.



Thank you!
Last Edit: 26 May 2017 12:18 by Monrz.

  • Posts:7
  • Monrz
  • Fresh Boarder
  • OFFLINE
  • Karma: 0
Time to create page: 1.22 seconds
Sunday 13 October 2019

joomfreak is not affiliated with or endorsed by the Joomla Project or Open Source Matters.
The Joomla logo is used under a limited license granted by Open Source Matters the trademark holder in the United States and other countries.