Hello there! Welcome to Youjoomla Support Forums

We are Web Development Company specializing in Joomla Templates , Joomla Extensions and WordPress Themes development . You are not able to see some forum threads due to your memberhip level. To unlock all forums and special customer support please take few moments to signup . If you are just searching for free joomla templates , or free joomla extension support simply head to our Free Joomla Support forums and open a new thread. Our moderators will help you as soon as possible. To spead up the response time please take few seconds and go over forum rules

Have fun!

Pass department name value to message subject box?

01-07-2011, 05:20 PM
# 1 (permalink)
thegorilla
Hi there,

I would like some help with two related issues, both using multi-department forms.


1) When the user selects a department name, I would like the department name value to be passed to the message subject input box. For example, I have a department called 'Ticket Sales'. If the user selects this department, I would like this value to be entered into the message subject box. This could be done after the form is posted, but before validation.

I also want the message subject box to be hidden so that the user cannot edit this value. This ensures that when the email appears in my local inbox, it will have the subject heading 'Ticket Sales'.


2) I also have a department called 'Everything Else'. This department will deal with everything else (clever, huh!). If the user selects this, I would like the subject message box to be visible in the normal way, so that the user can enter their own subject value.

This is presumably a simple coding issue. I am not very familiar with website coding (although I have coded just about everything else), so at the very least I need to be pointed to the file that I need to modify.

Thanks in advance for any help.
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Powered by vBulletin®
Copyright ©2000 - 2023, Jelsoft Enterprises Ltd.

Members Login

Username
Password