Trying to change the Button Names, not working

If you have questions or if you want to share your opinion about Aware IM post your message on this forum
Post Reply
BLOMASKY
Posts: 1470
Joined: Wed Sep 30, 2015 10:08 pm
Location: Ocala FL

Trying to change the Button Names, not working

Post by BLOMASKY »

I am sure I MUST be doing something wrong. I read that for a Yes/No attribute, I can put the following in the advanced panel:

config.config.onLabel='Yes";
config.config.offLabel="No";

However, my lovely switch still says On/Off. What am I doing wrong?

thanks
Bruce
aware_support
Posts: 7523
Joined: Sun Apr 24, 2005 12:36 am
Contact:

Re: Trying to change the Button Names, not working

Post by aware_support »

Should work. Check the Javascript console in the browser - maybe you made a mistake somewhere, in which case there will be an error in the console.
Aware IM Support Team
Jaymer
Posts: 2430
Joined: Tue Jan 13, 2015 10:58 am
Location: Tampa, FL
Contact:

Re: Trying to change the Button Names, not working

Post by Jaymer »

could be that single quote u have on YES
Click Here to see a collection of my tips & hacks on this forum. Or search for "JaymerTip" in the search bar at the top.

Jaymer
Aware Programming & Consulting - Tampa FL
BLOMASKY
Posts: 1470
Joined: Wed Sep 30, 2015 10:08 pm
Location: Ocala FL

Re: Trying to change the Button Names, not working

Post by BLOMASKY »

Thanks Jaymer, you da man (also). Silly me using " when I should have used '

(can I blame it on old eyes? Too much tequila? wait, maybe not ENOUGH tequila)

Bruce
BenHayat
Posts: 2749
Joined: Thu Dec 23, 2010 5:48 am
Location: Fla, USA
Contact:

Re: Trying to change the Button Names, not working

Post by BenHayat »

BLOMASKY wrote:
(can I blame it on old eyes? Too much tequila? wait, maybe not ENOUGH tequila)

Bruce
Nope... Those Nude pictures can make your eyes & mind, go blind! Ask me how I know... :D
I guess, in our case, it's too late now! :oops:
BLOMASKY
Posts: 1470
Joined: Wed Sep 30, 2015 10:08 pm
Location: Ocala FL

Re: Trying to change the Button Names, not working

Post by BLOMASKY »

I have bad news Ben. I was doing figure photography last year. Will do very few coming up. My new task is shooting Police... and I can NOT check off my bucket list of: "Flying in Helicopter with SWAT team during training mission"

But, if or when I do another figure shoot, I WILL let you know. Until then, if you like guys with BIG guns in uniforms, go to: http://www.brucel.com/Commercial/SWAT/

bruce
BenHayat
Posts: 2749
Joined: Thu Dec 23, 2010 5:48 am
Location: Fla, USA
Contact:

Re: Trying to change the Button Names, not working

Post by BenHayat »

BLOMASKY wrote: My new task is shooting Police...

bruce
You're a bad boy... :mrgreen:

Once a friend who had gone to LA for some photography shots in an event, and on his way back at LAX, as he was talking to his wife about his "Shots", and he was telling her "Every time I was trying to shot this guy, he kept moving...". Finally he hangs up and was going through some news on his iPad, when he was suddenly surrounded by cops pointing guns at him.

He was interrogated for over 12 hours by cops, FBI and you name it, to find out, some guy was sitting behind him while he was talking to his wife about shooting [a photograph] and the guy goes to security and tells them there is a man there who is an assassin and was trying to shoot someone at some event... :D
pureist
Posts: 427
Joined: Sun Jan 24, 2016 10:00 pm

Re: Trying to change the Button Names, not working

Post by pureist »

that "some guy sitting behind him" who reported him encapsulates everything I loath about humans in general.
as if an assassin is going to be talking about one of their 'kills' over and phone and in a public domain.
95% humans... stupid as.
BenHayat
Posts: 2749
Joined: Thu Dec 23, 2010 5:48 am
Location: Fla, USA
Contact:

Re: Trying to change the Button Names, not working

Post by BenHayat »

pureist wrote:that "some guy sitting behind him" who reported him encapsulates everything I loath about humans in general.
as if an assassin is going to be talking about one of their 'kills' over and phone and in a public domain.
95% humans... stupid as.
And the cops who bought the "Assassin" story and kept the poor guy for over 12 hours.
BLOMASKY
Posts: 1470
Joined: Wed Sep 30, 2015 10:08 pm
Location: Ocala FL

Re: Trying to change the Button Names, not working

Post by BLOMASKY »

Purest, and THOSE are the overachievers!
numberz
Posts: 166
Joined: Sat Aug 05, 2017 12:13 am
Location: New Hampshire - USA

Re: Trying to change the Button Names, not working

Post by numberz »

BLOMASKY wrote:I am sure I MUST be doing something wrong. I read that for a Yes/No attribute, I can put the following in the advanced panel:

config.config.onLabel='Yes";
config.config.offLabel="No";

However, my lovely switch still says On/Off. What am I doing wrong?

thanks
Bruce
Forgive my lack of knowledge but exactly where should this "config.config.onLabel='Yes";
config.config.offLabel="No";" info go.
Thank you.
Regards and thanks,
Harry Carter
BLOMASKY
Posts: 1470
Joined: Wed Sep 30, 2015 10:08 pm
Location: Ocala FL

Re: Trying to change the Button Names, not working

Post by BLOMASKY »

When editing a form / Scripts / Initialization Script

Bruce
numberz
Posts: 166
Joined: Sat Aug 05, 2017 12:13 am
Location: New Hampshire - USA

Re: Trying to change the Button Names, not working

Post by numberz »

Thank you.
Regards and thanks,
Harry Carter
Post Reply