Skip to main content
Willam van Weelden
Inspiring
August 8, 2011
Question

CP 5.5 User Variables to lower case

  • August 8, 2011
  • 1 reply
  • 608 views

Hi all,

Windows XP TCS 2.5 and Captivate 5.5

I'm working on a simple exercise in which the user fills some fields. The user then clicks a button and the advanced action checks that all the fields are filled correctly. Fields are associated with user variables.

I want to check the values the user inputs case insensitive, but I can't find an easy way to do this. For now, I use JavaScript to set the variables to lower case when the focus of the text field is lost. This works, but requires a lot of maintenance.

Am I missing something very simple? Is my solution the wrong approach? Can I use/create a widget to help me? I appreciate any feedback.

Greet,

Willam

This topic has been closed for replies.

1 reply

Inspiring
August 14, 2011

If you have any experience with building Widgets then you could create a widget that will take your variable in Captivate and then use the "String Methods" in Flash to convert it to lower case. It shouldn't be too difficult to achieve with a widget and it would definitely be lower maintenence than using JavaScript.

/Michael


www.cpguru.com - Adobe Captivate Widgets, Tutorials, Tips & Tricks and much more..

Willam van Weelden
Inspiring
August 15, 2011

Hi,

Thanks for the feedback. I've never used Flash before, but I found a few tutorials on creating widgets. I'm going to give that a try as some of my colleages also want to create simple forms. They don't know JS so I think a widget will be worthwile.

Greet,

Willam