Company List Drop down In Self Registration

Moderator: crythias

Locked
Wes
Znuny newbie
Posts: 3
Joined: 21 Mar 2012, 16:54
Znuny Version: 30011
Real Name: Wesley C Smith
Company: Reaching Across Illinois Library System

Company List Drop down In Self Registration

Post by Wes »

I am trying to add a a dropdown to the customer self registration that has the list of Companies. Everyone knows all the companies already they are more members than companies.

I have CustomerCompanySupport activated and do get a dropdown when I want to assign a Customer in the Agent/Admin Frontend. I would like the same for the Customer in his frontend.

So I'd have:

Title:
Name:
Lastname:
E-Mail:
Company: <Dropdown with available CustomerIDs>

For the Registration

Any Idea/Hint or Solution is greatly appreatiated.

Here is my attempt at the code but I need to convert this into a <select> this is in the CustomerLogin.dtl

Code: Select all

<div class="NewLine">
<label class="Mandatory" for="UserCustomerID"><span class="Marker">*</span> $Text{"CustomerID{CustomerUser}"}</label>
<input title="$Text{"Library Name"}" name="UserCustomerID" type="text" id="UserCustomerID" maxlength="100" value="$QData{"UserCustomerID"}" class="W50pc Validate_Required"/>
<div id="LastNameError" class="TooltipErrorMessage"><p>$Text{"Please supply a last name"}</p></div>
</div>
griffin
Znuny newbie
Posts: 20
Joined: 29 Apr 2015, 19:51
Znuny Version: 3.3.8
Real Name: Marcos

Re: Company List Drop down In Self Registration

Post by griffin »

I'm sorry to resurrect this 3 year old thread.
but i could not find this in the documentation.

Where you able to solve this?


Admins:
i think this is a useful post that needs answering. It would be nice to have it in public view rather than PM.
OTRS: 4.0.8
Database: MySQL
crythias
Moderator
Posts: 10170
Joined: 04 May 2010, 18:38
Znuny Version: 5.0.x
Location: SouthWest Florida, USA
Contact:

Re: Company List Drop down In Self Registration

Post by crythias »

I don't want random user to be able to gather my client list. Do you?
OTRS 6.0.x (private/testing/public) on Linux with MySQL database.
Please edit your signature to include your OTRS version, Operating System, and database type.
Click Subscribe Topic below to get notifications. Consider amending your topic title to include [SOLVED] if it is so.
Need help? Before you ask
griffin
Znuny newbie
Posts: 20
Joined: 29 Apr 2015, 19:51
Znuny Version: 3.3.8
Real Name: Marcos

Re: Company List Drop down In Self Registration

Post by griffin »

Currently we use a word form with a drop down list with all the customer companies, so they know who we work with. Also its in an Intranet so no external user will get the list.
OTRS: 4.0.8
Database: MySQL
crythias
Moderator
Posts: 10170
Joined: 04 May 2010, 18:38
Znuny Version: 5.0.x
Location: SouthWest Florida, USA
Contact:

Re: Company List Drop down In Self Registration

Post by crythias »

An individual user will create himself with his own email as customer ID for default.

I don't really understand the idea of an Intranet where one needs to allow people you allow on your network register themselves in an environment where you already know most of the information you're asking the end user to complete.
OTRS 6.0.x (private/testing/public) on Linux with MySQL database.
Please edit your signature to include your OTRS version, Operating System, and database type.
Click Subscribe Topic below to get notifications. Consider amending your topic title to include [SOLVED] if it is so.
Need help? Before you ask
griffin
Znuny newbie
Posts: 20
Joined: 29 Apr 2015, 19:51
Znuny Version: 3.3.8
Real Name: Marcos

Re: Company List Drop down In Self Registration

Post by griffin »

its just so as for each user to register themselves to the right customer. Not all have a corporate email.

Is it possible to do this or is this not posible with $Data{"CustomerID"}?

how do i edit CustomerLogin.dtl so as to have this dropdown or similar method of selection?
OTRS: 4.0.8
Database: MySQL
crythias
Moderator
Posts: 10170
Joined: 04 May 2010, 18:38
Znuny Version: 5.0.x
Location: SouthWest Florida, USA
Contact:

Re: Company List Drop down In Self Registration

Post by crythias »

I don't think it's possible ... You would have been able to answer your own question by now.
OTRS 6.0.x (private/testing/public) on Linux with MySQL database.
Please edit your signature to include your OTRS version, Operating System, and database type.
Click Subscribe Topic below to get notifications. Consider amending your topic title to include [SOLVED] if it is so.
Need help? Before you ask
Locked