Animating characters in a text field
Hello,
I'm new to captivate and not sure that this is something I can do with captivate. I'm trying to create a course on spelling, and for that I would like to have sentences or words on the screen that, at certain points in the presentation, have blinking characters or characters with different colors. I have not found a way to do that, is it at all possible, or would you recommend to use something else to create this?
Thank you,
Alex
OK. I think I get the idea. I doubt that Captivate will be the right tool for your task. I'm not saying it would be impossible, just that there are other tools out there (like Flash) that would offer you a greater level of control, albeit with a steeper learning curve.
In Captivate you can only animate or apply effects similar to what you describe on individual objects. So to use an Effect to animate or change the colour of something, but if you wanted to do this to an individual letter in a word, then each letter would need to be in a separate text caption or be a separate graphic.
There are lots of easier ways to make something stand out. If I had to teach language words, and I wanted to highlight a given letter in the word using Captivate, I'd probably make the words quite large, then use a Highlight Box placed over the letter and either use a border or set to Fill Outer Area with about 50% Alpha so that only the letter in the highlight box could be easily read.
Similar Messages
-
Limit the amount of characters of a text field based on first digit
Hello and thanks in advance for your help!
I would like to limit the amount of characters of the text field based on the first digit of the number (the text field is only limited to a number format...no decimals, no commas).
For example, if the number begins with a 3, I would like to limit the text field to allow only ten characters. I have three scenarios but if I could get started with some code and what is the best place to add it (keystroke or validation?) I can take it from there. Thanks again for your help!!I've written this code for you that does that. Use it as the field's custom Keystroke code:
// Validate that only digits are entered
if (event.change) {
event.rc = /^\d+$/.test(event.change);
// Validate string length if it starts with 3
if (/^3/.test(AFMergeChange(event))) {
event.rc = AFMergeChange(event).length <= 10;
if (!event.rc) app.alert("If the number starts with \"3\" it may not be longer than 10 digits.",1); // optional error message
You can duplicate the second part of it for additional conditions, but keep in mind that this code won't even let you remove the first character in the field if the result is an invalid one.
For example, if you enter "234567890123456" then you can't remove the "2" at the start because that would result in an invalid number. You can remove any of the other digits, though, and when it's 10 digits or less then you could remove the starting "2" as well. -
How to force all characters in prompt text field will be in uppercase???
Hi everybody
How to get that all characters in a prompt field of a Webi report will be compared in uppercase with the database field ?? Even if the user input text in lower case.
this is due to the database all filelds are in uppercase, and avoid to say to the users they input fileds in uppercase.
i looked for a parameter in a universe and in oracle.prm filed, and i didn´t find it.
Thanks in advance
Guillermo
DB: ORACLE 10G
BO: XI r2Thanks a lot rohy.
now i use that solution, but my intention is try to solve to all objects, not each object individualy, due to i have a lot of objects that a user can choose from a prompt, and i have a lot of filters to do that
i would like to change some parameter to do that at one time.
i investigate about it......
thanks again.
best regards Guillermo
have a nice day -
How can I do field validation on the last two characters of a text field?
I have a text field. The user is required to enter the last two characters as numbers. I want to apply validation on this field. How can i achieve the same?
EX: If the user enter ABCDE, an error messgae stating the last two digit should be numeric.
I tried using the below in the field validation which did not work.
(0+Right([<ExternalSystemId>],2)) > 0 AND (0+Right([<ExternalSystemId>],2)) < 99.
Any ideas would help?Try this-
FindOneOf(Right([<Field1>],"2"),"abcdefghijklmnopqrstuvwxyz")=0
rgds,
Amit -
Special Characters in Long Text Field of FI Documents
Hi,
Users entered the following in the long text field of a FI document:
"Settlement of claims for direct shipment (Refer to XXX/YY-053/2009, XXX/YY-018/2009, XX2120000031 and X2120000033)"
The default editor used is the one which looks like the MS Word.
When we changd to the other editor (Goto > Change Editor), we see the following:
"Settlement of claims for direct shipment to Thailand (Refer to"
"XXX/YY-053/2009<(>,<)> XXX/YY-018/2009, XX2120000031 and X2120000033)"
How did "<(>,<)> " comes about?
Any ideas?I'd probably use a regex of "allowed" characters rather than a list of "disallowed" characters, but thats just a difference in approach.
I would probably use a regular expression - alphanumeric is fairly easy to check
String value = request.getParameter("enteredField");
boolean alphaNumericOnly = value.matches("\\w+");As a matter of being nice to the user, you can also do this check in javascript on the client side.
ALWAYS validate server side.
Optionally validate client side to give the user a better experience (less round trip requests)
Cheers,
evnafets -
To limit number of characters in a text field...
I did a little research. My goal is to limit the number of characters in the textfield by 50.
If the results of my research are correct, I have to create a JFormattedTextField, then use a MaskFormatter with a mask of 50 asteriks. Is that correct? Any other suggestions?
Thanks in advance.I've got a problem using a JFormattedTextField.
Each time the the text field gains focus, the caret does no move to the end of the text. It appears at the start of it. plus, any text i typed will overwrite the character already typed in, as if you've pressed the INSERT button during typing in a text editor.
What caused that and how do I resolve it?
Thanks a lot for the help ;) -
Adding Start and Stop characters to a text field???
"For 1D bar codes, there are two options depending on the type of PDF form you want to use. Forms that you create in Acrobat (acroforms) can be set up to use a bar code font with a standard text field. If you want to include the standard start and stop character (*) and/or a check character, you can use JavaScript to add them. The check character would have to be calculated, but that can be easily done with JavaScript."
How would i go about doing this. My current PDF form will pull a last name and first name onto the form in a Barcode format, but i need to add in *LNM to the start and another * at the end of the data that was pulled from a SQL data base. example the pdf has a Text Feild named "borrower1_last_name" and that filed pulls the last name.. So i was thinking there should be an easy script like you said to add in to that feild properties.
posting here now, becasue no one seems to be able to point me to the correct resourse on the reader forum.okay.. so now how do I change the space between the first name and middle inital (and even the last name) in that same field?
something like this looks like it should work but doesnt seem to do anything.
str.replace(/ /g, "_");
// Add an asterisk to the beginning and end of the value
if (event.value) event.value = "*FNM" + event.value + "*";
//Replace black spaces with an Underscore
str.replace(/ /g, "_"); -
Replace Characters in a Text Field
Hello,
I have a script to replace a carriage return in a text box.
The script is not working when run from the console.
Can any one please advise how the script can be revised to find/replace a carriage return in a multiline text box?
var t = this.getField("ActionAgenda").value;
t = t.replace("\r","") // delete carriage return
Any assistance would be most appreciated.Thank you for your help, George.
The script works perfectly to replace carriage returns in a text field.
Can you please advise how to modify the same script to remove a blank line instead of a carriage return?
Thanks again, George.
Regards
Jo -
How To: Extract first three characters of a text field
Greetings --
What is the best method for extracting the first three
letters of a text field?
I need to extract the first three letters of a text field (in
this case Last Name),
so I add it to other components so as to create an
identification number for
a person.
This identification number that needs to be created is
comprised of the
person's date of birth, last 4 numbers of the social security
number and
the the first three letters of the person's last name.
Example:
==> Birthdate: 11/15/45
==> Last 4 SSN: 6654
==> Last Name: Smith
ID Number would be:
==> 1115456654SMI
Leonard BThat should do the trick:
I put your values in variable, just replace the names, as
needed
<cfset birthdate = "11/15/45">
<cfset ssn = "41646562121216654">
<cfset lastname = "Smith">
This deletes all the / from your birthday string (if it is a
string!) and puts it into the id variable:
<cfset id = replace(birthdate, "/", "", "All")>
This takes the last 4 letters/digits of your social security
number string and adds it to the id:
<cfset id = id & right(ssn,4)>
This takes the first thre letters/digits from your last name
variable, puts it in upper case and adds it to the id string
<cfset id = id & ucase(left(lastname,3))>
Hope it helps. -
Hope someone can help me.
What I basically need help with is how to make Acrobat add a comma after every 6 characters in a text field:
XXXXXX,YYYYYY, ZZZZZZ etcI'm sorry, but I did not understand that (i'm using Acrobat Pro X)
Am I supposed to go to:
Text Field Properties > Format > Custom
and then use Custom Format Script or Custom Keystroke Script?
I tried both and it did not work.
And do the Text Field have to be named "chunkSize"?
Seems like it works. I had to move to the next formfield in order to see the effect.
Is it possible to make it happen in real time (as you type the comma is inserted?) -
Change the font color of a text field in a table by key-combination
I want to change the font color of a text field in a table (single cell only) on pressing a key combination. Does anybody know how to do this.
I have a lot of data in a table. During an evaluation of the data in a meeting I want to change the color of the text depending on the result of the meeting. (for example: High risk = CTRL+R makes the text red).
I know how to change the color using a button, but I do not want to add a button after each cell. For this reason I would like to do it on a key combination that alway refers to the active cell.
Many thanks for your help in advance.
MarcelHi,
I don't think you can use the ctrl key like that as those shortcuts will be intercepted by Reader (ctrl-R toggles the ruler display on / off). You also might have trouble updating the color while you still have focus on it. You can use the shift key in a similar way, so if you only have lower case characters in the text fields then you can do something like;
if (xfa.event.shift)
switch (xfa.event.change)
case "R":
this.fontColor = "255,0,0";
break;
case "O":
this.fontColor = "255,102,0";
break;
case "G":
this.fontColor = "0,255,0";
break;
xfa.event.change = ""; // ignore character
If you need uppercase characters maybe you can have one button to set "review mode" and test that on the if (xfa.event.shift) line. But again it wont take effect until you have tabbed out of the field.
Regards
Bruce -
Hi,
I want to load a string of characters to a text field of a table. I'm using SQL Loader.
I've tried to declare the field in several types: varchar2(4000), clob, raw, etc, but when I run sql loader to load the text I get the same error: The data file exceeds maximum lenght. I've tried with a shorter text and it works.
My question is, why I can't load long characters in that field?
Thanks in advance.
Regards.Although you have made your table column up to size 4000, SQLLoader have not got a clue about that. You still need to tell SQLLoader that the text coming in is more than the default 255 in your control file. Strange isn't it?
Here is my table named testlog. Note that I changed the column names LOG, DAY, TIME and TYPE because they are reserved Words
SQL> CREATE TABLE TESTLOG
2 (LOG_1 CHAR(3) NOT NULL,
3 DAY_1 DATE,
4 TIME_1 CHAR(8),
5 SOURCE VARCHAR2(100),
6 EVENTID NUMBER(22),
7 TYPE_1 VARCHAR2(64),
8 CATEGORY VARCHAR2(64),
9 USER0 VARCHAR2(64),
10 COMPUTER VARCHAR2(64),
11 MESSAGE VARCHAR2(4000) NOT NULL)
12 /
Table created.
SQL> desc testlog
Name Null? Type
LOG_1 NOT NULL CHAR(3)
DAY_1 DATE
TIME_1 CHAR(8)
SOURCE VARCHAR2(100)
EVENTID NUMBER(22)
TYPE_1 VARCHAR2(64)
CATEGORY VARCHAR2(64)
USER0 VARCHAR2(64)
COMPUTER VARCHAR2(64)
MESSAGE NOT NULL VARCHAR2(4000)
SQL> select * from testlog;
no rows selected
SQL>
I saved the same data you have abvoe in a file named testlog.txt Here is my test controlfile named testlog.ctl
LOAD DATA
INFILE 'testlog.txt'
INTO TABLE testlog
FIELDS TERMINATED BY ','
TRAILING NULLCOLS
LOG_1 CHAR NULLIF (LOG_1=BLANKS)
, DAY_1 DATE "DD/MM/YYYY" NULLIF (DAY_1=BLANKS)
, TIME_1 CHAR NULLIF (TIME_1=BLANKS)
, SOURCE CHAR NULLIF (SOURCE=BLANKS)
, EVENTID INTEGER EXTERNAL NULLIF (EVENTID=BLANKS)
, TYPE_1 CHAR NULLIF (TYPE_1=BLANKS)
, CATEGORY CHAR NULLIF (CATEGORY=BLANKS)
, USER0 CHAR NULLIF (USER0=BLANKS)
, COMPUTER CHAR NULLIF (COMPUTER=BLANKS)
, MESSAGE CHAR(4000) NULLIF (MESSAGE=BLANKS)
Here is the Result of my test run
D:\DBMSDIRECT\DBA\Test>sqlldr userid=test control=testlog.ctl
Password:
SQL*Loader: Release 11.1.0.6.0 - Production on Fri Nov 5 15:36:05 2010
Copyright (c) 1982, 2007, Oracle. All rights reserved.
Commit point reached - logical record count 1
D:\DBMSDIRECT\DBA\Test>
Here is the Result in the table
SQL> col message format a50
SQL> col source format a50
SQL> col category format a10
SQL> col source format a10
SQL> col user0 format a10
SQL> col type_1 format a10
SQL> col computer format a10
SQL> set pasge 20
SQL> select * from testlog;
LOG DAY_1 TIME_1 SOURCE EVENTID TYPE_1 CATEGORY USER0 COMPUTER MESSAGE
SEC 04-NOV-10 12:26:02 Microsoft- 4656 Success 12800 server1.it A handle to an object was requested.^`^`Subject:^`
Windows-Se acasa-sa.c Security ID: S-1-5-21-3830471607-3036766313-42914
curity-Aud om 15205-2156^` Account Name: mbelles^` Account Domai
iting n: ITACASA-SA^` Logon ID: 0x38988bbc^`^`Object:^`
Object Server: Security^` Object Type: File^` Obje
ct Name: K:\AMBIENTE^` Handle ID: 0x1e18^`^`Proces
s Information:^` Process ID: 0x4^` Process Name: ^
`^`Access Request Information:^` Transaction ID: {
00000000-0000-0000-0000-000000000000}^` Accesses:
%%4416^` ^` Access Mask: 0x1^` Privileges Used for
Access Check: -^` Restricted SID Count: 0
1 row selected.
SQL> -
Select List as a child to a text field?
I'm using APEX 4.1. I have a Select List that has a Cascading LOV Parent Item that is just another text field, the LOV sql has the text field in the where clause. When I type a few characters into the text field and tab to the Select List the list is filtered by the characters from the text field, but if I use the mouse and click the down arrow of the Select List I have to click twice before the list will be populated. Does anyone know why this is happening?
I would imagine it's a similar issue to the old 'mouse-navigate' in forms where no change event has fired while processing the arrow click. You may find different results in different browsers?
You may be able to solve your problem with a mouse-click DA on your select list? or something similar, who'se action refreshes that select list item.
Scott -
How to set maxWidth in tabular form Text Field
Text Fields do not have maxWidth property in tabular forms. Is there any way to set maxWidth using the Element Attributes field? Or at least create a Validation process to let the user know why an error appears if he/she enters more than the allowed characters in a text field.
Thanks
Francisco.>>
This information should appear in the user'smanual.
Francisco.There should be a working MAXLENGTH attribute that
defaults to the correct length based on the data
dictionary.Hi,
been trawling through the forums for the same problem, found this solution which works a treat (thanks! ). But agree that the software should actually allow you to define this anyway, rather than bodge, fool, amend, bridge or circumnagivate (sp?) the software. -
Dynamic Text Field is not displaying foreign characters... HELP!
I have a dynamic text field that is not displaying foreign characters properly. They appear as boxes.
Here's what I've tried.
Under properties for the text field, I clicked on the embed characters button. In there, I pasted all the special characters I would need and clicked okay. Shouldn't this be enough for the text to display properly? What am I missing? Please help...More info: I'm noticing that in the actual dynamic text field in my .FLA file, if I type a foreign character like é, it pops up as a block. My family font is set to New Caledonia... is it possible that New Caledonia doesn't have those particular glyphs? The thing that doesn't make sense to me though is, last year when I made this card, it worked fine with New Caledonia... Any help is greatly appreciated!!
Maybe you are looking for
-
Standard Purchase Order in Pre-Approved status
Hi, When I approve the standard PO, it's goes into Pre-Approved status.Following error found in workflow. Failed Activity Reserve Document Workflow Errors: POAPPRV, 13-45, 63544 Activity Type Function Error Name WFENG_ITEM_ATTR Error Message 3103: At
-
I recently copied my music library onto my 2nd computer (with the help of Buegie). Everything seems great, except my playlists and "play count" didn't copy over. When I copied the library, I copied the whole folder, including "itunes music", "itunesl
-
Completed recommended steps of Safe Mode, Default Themes, Extensions, Hardware Accelerators. In the Options setup, Security, The box to "Remember Passwords for Sites" is still greyed out & unusable.
-
Hi all, I have a checkbox renderer in datagrid .The dataprovider does not have the selected property of the checkbox. how do i retain the selection of the checkbox,when i scroll the datagrid? please help. Thanks
-
Logic won't work with Traveler
In my system I have: MOTU Traveler Firewire Firmware 1.07 - Driver 1.4.2 Apple Logic Pro 7.2.3 Reason 2.5 Suddenly Traveler sounds only with iTunes, when I try to use it with Logic Pro, I hear only whistles. (no mic open, feedback excluded) System pr