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.
01-09-2011, 01:35 PM
# 2 (permalink)
maggoo
I looked at a quick fix for this request, but what it boils down to is that this request is way beyond "reasonable customization". But the request is noted, so maybe if YJ Contact us is developed further it will be taken into consideration.
01-09-2011, 07:52 PM
# 3 (permalink)
thegorilla
I can see that there may be some minor complications to this, however, the functionality I am requesting would make this extension more attractive from a web developers perspective.

Here it is:-

1) Add a switch to allow department names to be used as the message subjects
2) Hide the message subject input box from the user if (1) is true
3) Define a 'catch all' department such as "Other" that is not piped to the subject message object
4) If the user selects the 'catch all' department defined in (3), then the subject message text box is unhidden and the user can enter a message subject of their choice.

This has got to be a pretty low cost win. How about putting in this change request?
01-10-2011, 06:08 AM
# 4 (permalink)
maggoo
I just put this in the I wish category of the forum and who knows what the future holds.
01-10-2011, 08:43 AM
# 5 (permalink)
thegorilla
Thanks for this. Here's hoping someone fancies tinkering around with this soon.

Speak again soon, maggoo, no doubt.
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