Go Back   CodingForums.com > :: Client side development > JavaScript programming

Before you post, read our: Rules & Posting Guidelines

Reply
 
Thread Tools Rate Thread
Enjoy an ad free experience by logging in. Not a member yet? Register.
Old 09-11-2012, 03:15 AM   PM User | #1
adeligio
New to the CF scene

 
Join Date: Sep 2012
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
adeligio is an unknown quantity at this point
help writing a simple if else statement

I have a AD account that has a attrubite called "Account flags" that list in somesone ID cube under the Attributes tab labeled "Employee Status": [User Account is Disabled, Normal User Account, Password Cannot Expire] next to the "Employee Status" for people still employeed and for the not employeed the ID Cube" Employee Status" sttribute will list:[User Account is Disabled, Normal User Account, Password Cannot Expire] I need the "Employee Status" attribute under the user Identity to instead say active or not active instead of [User Account is Disabled, Normal User Account, Password Cannot Expire] next to the Employee Status line in Identity attributes and [User Account is Disabled, Normal User Account, Passwrod Cannot Expire] for non active accounts. I have added a screen shot beeter what I am trying to do.
adeligio is offline   Reply With Quote
Old 09-11-2012, 04:11 AM   PM User | #2
jmrker
Senior Coder

 
jmrker's Avatar
 
Join Date: Aug 2006
Location: FL
Posts: 2,765
Thanks: 29
Thanked 453 Times in 447 Posts
jmrker will become famous soon enough
Question

Quote:
Originally Posted by adeligio View Post
I have a AD account that has a attrubite called "Account flags" that list in somesone ID cube under the Attributes tab labeled "Employee Status": [User Account is Disabled, Normal User Account, Password Cannot Expire] next to the "Employee Status" for people still employeed and for the not employeed the ID Cube" Employee Status" sttribute will list:[User Account is Disabled, Normal User Account, Password Cannot Expire] I need the "Employee Status" attribute under the user Identity to instead say active or not active instead of [User Account is Disabled, Normal User Account, Password Cannot Expire] next to the Employee Status line in Identity attributes and [User Account is Disabled, Normal User Account, Passwrod Cannot Expire] for non active accounts. I have added a screen shot beeter what I am trying to do.
Beside the missing "screen shot", do you have any brief example of the HTML code and/or the JS attempt?
jmrker is offline   Reply With Quote
Reply

Bookmarks

Jump To Top of Thread


Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 11:25 AM.


Advertisement
Log in to turn off these ads.