place text from the text field to the other in a subform of livecycle
Hi all
I have a dynamic form created in Adobe Livecycle Designer ES, which contains several subforms positioned inside a fluid page. I want to have two fields of text inside one of the subforms so that the text entered in the first field of text (not expandable) will continue in the text field (which is a repeating field). I know that there is a script inside of Acrobat that will do, but may not know how to write a JavaScript for the form in livecycle designer.
The two fields serve as stand-alones without problem, but not as described above.
(Here's the script Acrobat XI, which doesn't work for in livecycle, but give an idea of what I'm trying to do):
Action: Triggered on mouse towards the top/run menu
/ * belongs to: AcroForm:textfield1:Keystroke * /.
If (event.fieldFull | event.willCommit)
this.getField("textfield2").setFocus ();
< / ACRO_script >
< / AcroForm >
Is there a corresponding JavaScript for livecycle? Thanks for your suggestions!
Hello
You can use the full event here for the length text box that is set. So to write the following code in the complete event of a text field whose length is fixed.
xfa.host.setFocus (the text field whose length is not fixed)
Thank you
Sidonie.
Tags: Adobe LiveCycle
Similar Questions
-
Problems with the filling of a text field with 2 other fields data
I have 3 domains Tools_1a_pri, Tools_1a_pri_other, Tools_1a_pri_txt.Tools_1a_pri is a drop-down list box with a predefined list. One of the options is the 'other '. If 'Other' is selected, the text Tools_1a_pri_other field becomes visible for users to enter the name of the other tool.
The Tools_1a_pri_txt is a text field with a calculation that shows a text indicating that no tool has been selected or the Tools_1a_pri & or Tools_1a_pri_other.
When I select one of the predefined tools, everything works. When I choose the other, it seems that nothing has changed. Must I click another field before. It's confusing for the user.
Tools_1a_pri validate code
this.getField("Tools_1a_pri_Other").display = event.value is "Other"? Display.visible: display.hidden;Computer Tools_1a_pri_txt code
If nothing is selected, follow these steps
If (getField("Tools_1a_pri").value.length < 2) {}
event.target.textColor = color.red
Event.Value = "no identified main tool";
} else if (getField("Tools_1a_pri").value! = 'Other') {}
If not do that if the other is selected
event.target.textColor = color.black
Event.Value = getField("Tools_1a_pri").value;
} else if (getField("Tools_1a_pri").value = 'Other') {}
If not do so if the other is not selected
event.target.textColor = color.black
GetField("Tools_1a_pri").value = Event.Value + "-" + getField("Tools_1a_pri_Other").value;
}You have made the classic mistake of using the assignment operator in a statement instead of the comparison operator. Change this line:
} else if (getField("Tools_1a_pri").value = 'Other') {}To do this:
} Else if (getField("Tools_1a_pri").value == 'Other') {}
-
AS3 SharedObject of dynamic text field entry into other frameworks...
Hello I have the script:
var gTeams:Array = new Array (teamName1, teamName2, teamName3);
var so:SharedObject = SharedObject.getLocal ("dataSO");
var shared_data:String;
for (var i: int = 0; i < gTeams.length; i ++) {}
If (["team_name_" + i] so.data) {}
gTeams [i] .text = so.data ["team_name_" + i];
}
}
function saveTextF (): void {}
for (i = 0; i < gTeams.length; i ++) {}
so. Data ["team_name_" + i] = gTeams [i]. Text;
}
so. Flush();
}
In other settings, I have dynamic text fields:
tName1, tName2, tName3.
But I can't get the text in the text entry fields.
How can I do?
Thanks for your help
Use instead of TextEvent.TEXT_INPUT Event.CHANGE:
teamName1.addEventListener (Event.CHANGE, tName1F);
function tName1F(e:Event):void {}
.
.
.
Note that the response number 8 is the right answer to your question.
-
Two USB6008 on different hubs - how to tell one from the other
My PC supports two instruments where each instrument is made of a hub, an acquisition of data USB6008 and an another mfg DAQ. The two hubs connect to two USB ports respective on the PC.
I have code that traverses the tree of USB and concludes each hub and then searches each device in turn. This allows me to 'pair' two USB devices on a per-hub basis. Even though I have the USB tree info, I don't know the name of the device (e.g. Dev1) of just the info from the USB, so I'm not able to explicitly open the unit. Is it possible, I can open a device based on its USB hub/port location? It seems that all the open calls require the name of the device.
Thanks for all the ideas.
Mitch
Read the serial number of the data acquisition. You should then be able to find the name. Perhaps change the names of /dev1 to something more descriptive when you set in MAX.
-
missing parenthesis in insertion into separate lines select the table from the other table
Hello
could you help me with the following question?
I have the following tables
CREATE TABLE table1)
ID varchar (12),
col2 varchar (10),
COL3 varchar (10),
level varchar (10))
CREATE TABLE table2)
Id2 varchar (12)
A varchar (10),
B number (1)
CONSTRAINT PRIMARY KEY PK (ID2, is));
INSERT INTO table2 (ID2, A, B) SELECT ID, col2
MAX (CASE WHEN level = "level 1" then 1
level = 'level 2' then 2
Level = 3 then 'niveau3') as colIN3)
FROM table1 GROUP BY ID2, a.;
the first table have duplicates as follows:
Id2 COL2 COL3 level
A1 pepe football level1
A1 pepe football level2
A1 pepe football level1
A1 pepe basket level2
A1 pepe pingpong level3
the output should be selected with unique key (ID2, col3) lines and the level must be the greatest.
Id2 COL2 COL3 level
A1 pepe football level2
A1 pepe basket level2
A1 pepe pingpong level3
The output of the script tells me the following messages:
-lack of right parenthesis referring to the max function.
Thanks adavance.
Kind regards
Hello
Remember the ABC's of the GROUP BY:
When you use a GROUP BY clause or in an aggregate function, then all in the SELECT clause must be:
(A) a ggregate function,
(B) one of the expressions "group By."
(C) adding to C, or
(D) something that Depends on the foregoing. (For example, if you "GROUP BY TRUNC (dt)", you can SELECT "TO_CHAR (TRUNC (dt), 'Mon - DD')").
To ask him, there are 5 columns in the SELECT clause. The last one is a function MAX (...); It is an aggregate, is not serious.
The first 2 columns are also named in the GROUP BY clause, so that they are well.
The other 2 columns, country and internal_Id do not match any of the above categories. These 2 columns cause the error.
There are many ways to avoid this error, each producing different results. You could
- remove these 2 columns in the SELECT clause
- Add these 2 columns in the GROUP BY clause
- use the aggregation such as MIN, 2-column functions
- remove the country from the SELECT clause and add internal_id to the GROUP BY clause
- remove the internal_id from the SELECT clause, and add countries to the GROUP BY clause
- ...
What are the results you want?
Whenever you have a question, please post a small example of data (CREATE TABLE and INSERT statements) for all the tables involved, so people who want to help you can recreate the problem and test their ideas. Also post the results you want from this data, as well as an explanation of how you get these results from these data.
Always say what version of Oracle you are using (for example, 11.2.0.2.0).
See the FAQ forum: https://forums.oracle.com/message/9362002
-
Update lines with the info from the other rows in the same Table.
I'm trying to update the lines with the information of the same table. The table is loaded with information from a report that runs and there must be a new entry every month, but I would like to bring some of the info from the last month. This statement below works but updates all rows in the new load table and in my test case, I only did a few game only like 5 files need to get updates. It is an example of what I'm trying to do. If I add this (C2. COL_INVC_ID = C1. COL_INVC_ID) until the last "* where *" statement get an invalid identifier for 'C2 '. COL_INVC_ID ". So what I'm doing wrong here? How can I update only the lines where also in recent months run?
Thanks in advance for any help!
------------
Update OpenIssues OI1
Together (OI1. NUM, OI1. Status, OI1. Code, OI1. LastModifiedDate) =
(Select ios2. NUM, ios2. Status, ios2. Code, ios2. LastModifiedDate
Of OpenIssues ios2
Where OI2.num = OI1.num and ios2. TableLoadDate = TO_DATE (January 31, 2012 00:00:00 ',' ' the HH24: MI: SS DD/MM/YYYY)
)
Where and OI1. TableLoadDate = TO_DATE (February 29, 2012 00:00:00 ',' ' the HH24: MI: SS DD/MM/YYYY)
------------
SQLMeAs Frank suggested merger is much effective here, go...
create table temp as( select 1 eno, 1 amt , sysdate load_date from dual union all select 1 eno, 2 amt , add_months(sysdate,1) load_date from dual union all select 2 eno, 1 amt , sysdate load_date from dual union all select 2 eno, 2 amt , add_months(sysdate,1) load_date from dual ); merge into temp t using (select eno, amt, load_date from temp where trunc(Load_Date) = TO_DATE('05/30/2012', 'MM/DD/YYYY')) s on ((s.eno = t.eno) and trunc(t.Load_Date) = TO_DATE('06/30/2012', 'MM/DD/YYYY')) when matched then update set t.amt = s.amt; commit; select * from temp;
-
Fade between two pages &; MC from the other control.
Let me see if I can explain it properly. I usually use a motion tween and the alpha channel to fade video clips or rear. What I'm currently doing is a bland page out and the other, but it could be one of the several MCs I have essentially four "pages" for a Web site, including the services, portfolio, about and contact. I have icons in my navigation bar (which will be imported into my XHTML separately, so it can float their depending on the size of the users window). The icons need to navigate between pages and pages should fade in and out (eg. melted in the MC Services when the services icon is clicked and melted out of it and in the MC of portfolio when the user clicks on the icon portfolio). Please keep in mind that the icons and pages are in completely different fichiers.fla/.swf because I could not understand how them float in Flash after several hours of searching around online, but know I can do it easily using div + CSS in XHTML tags.
If someone could explain how quickly "gotoandplay" a label in a file different .swf (communicate between the NavBar .swf and my main .swf) and fade out of the current MC (regardless of the page the user is currently using) before disappearing into the new page (according to the user clicks on the icon of the tool), I'm sure I could "fill in the blanks" of the rest of the AS3 and Flash I already know. The page must also melted off the page everything that there is currently on when the user click on the Hide button (located on the page in the main .swf file). There are also several sub-pages on each page (which shouldn't be a big problem if I understand the rest of this point).
I'll use this same concept for almost all of the websites I design & develop in the future and really need to know how to do this for the current site, I'm trying. I would greatly appreciate suggestions on how to accomplish these two things.
PS Please keep in mind, I'm not an expert in AS3, but am very computer savy and have done my share of programming in the past. I looked around for hours in line to try and fill it without using the forum, but concocted with dead links tutorials and short answers left and right. I hope I don't fall on the same thing here.
From what I've read so far, I think I can use Tween in ActionScript instead of a motion on the timeline Tween to fade in and out of clips and think that this is the method to use to accomplish what I am trying to do. Correct me if I'm wrong well.
You can use the LocalConnection class to communicate between different files in the web page. For more information just Google 'AS3 LocalConnection' or search for it in the help documentation.
For interpolation, you can use Actionscript. AS3 has the Tween class integrated, but for control and better performance, most people will recommend you go Third party and use TweenLite (or TweenMax for a tween that is more complex than what you explained).
-
Financilal reports - display of members from the other members of the Dimension
Hi all
We can view the members as a Sun based on the selection of the members in the other Sun... these dim 2 isn't in line/col...
We hav scenario = real, budget
If the user selects real, we need to display all the members in time Sun;
and if the user selects the budget we need to display limited to members;
How can achieve us.
Thanks in advance
AnuradhaHi Alexander,.
Conditional removal works to restrict members to display in the grid-line/grid-column/grid-page
A single user selection POV can never be limited to a selection on the other userPOV.
In user POV, you can still see all the members of the scenario and the time dimension, you have access to...
Maybe if you put your scenario dimension to dimension POV and time user to page and then using the conditional removal you will be able to achieve the same thing.
I hope this helps.
Kind regards
Rahul -
Can only connect to wireless technology in some places far from the router
My laptop, a Samsung with Windows 7, only connects to the internet in my room by the window. The router is located in another room, but it doesn't connect when I am near him. It shows that I am connected to the network, but I can't connect.
Hello
1. What's happening while you're trying to connect?
2. you get any error message? If Yes, what is the full error message?
Please follow the steps below and we update with the results.
Method 1: Run the network troubleshooter, and check.
http://Windows.Microsoft.com/en-us/Windows7/using-the-network-troubleshooter-in-Windows-7
Method 2:
Follow the steps in the following article and check.
Windows wireless and wired network connection problems
For more information, please see the links and check if it helps.
Why the my wireless signal strength is so low?
http://Windows.Microsoft.com/is-is/Windows7/why-is-my-wireless-signal-strength-so-low
Troubleshoot low wireless signal quality (applies to Windows 7 as well)
http://Windows.Microsoft.com/en-us/Windows-Vista/troubleshoot-low-wireless-signal-quality-problems
10 tips to help improve your wireless network
http://www.Microsoft.com/athome/Setup/wirelesstips.aspx#fBid=hq7zl63PiZ9
Why can't I connect to the Internet?
http://Windows.Microsoft.com/en-us/Windows7/why-can-t-I-connect-to-the-Internet
Let us know if it helps!
-
BlackBerry Smartphones replying to the email from the other account
Hello
I hope someone can help.
I have several accounts set up on my BlackBerry, situation is:
E-mail comes into account 1 (where all the emails are forwarded to the)
I would like to answer from a different account; that is, one that the sender used to send mail for me
However, I can not change the answer at the top of the display field. Even if it shows a kind of falling down.
Anyone know how I can achieve this.
Thank you very much.
It is not possible change the "send using the" when replying to an e-mail message. You can change during transmission, however.
-
number, inherited from the other component format
Hey guys,.
I have a box of text ADF, where a user can enter a daily amount (decimal number). Then I get an output text, below, where I want to show a quantity time avarage. I put the value of the output with EL expression area {bindings.dailyValue.inputValue / 24}. Daily value text box has activated AutoSubmit and box of output a partial text defined as trigger area.
I put convertNumber to each of these components with reason #. #, located some fraction max figures, and I am sure that only Integer property is set to false.
When the user enters 123, the outputText should show 5.125 (123/24), however, it shows 5 only. When the user enters 123,01, the outputText should show 5.1254166666, but watch 5.13. It seems that the real format, the number of decimal digits, is somehow inherited the textInput.
You have an idea on how is this possible and how to prevent?
I use JDeveloper 11.1.1.3.
Thank you very much!I suspect that the data type of your 'dailyValue' attribute is BigDecimal and this is the origin of the problem. When you perform an operation in division EL on a BigDecimal value, then the scale of the result depends on the scale of the operands (e.g. the value of the BigDecimal 123 on a scale 0, so the scale of the result is 0, the scale of the BigDecimal 123,01 value is 2, so the scale of the result is 2, etc.). This is how the BigDecimal objects perform a division (look at the Javadoc of the BigDecimal class for details). If you change the data type of the attribute 'dailyValue' duplicate, you should not have this problem.
A better way is to perform the calculation in a managed bean (where you can control the precision of the result) instead of making the division directly in the EL expression.
Dimitar
-
Hi, can export you emails from the other Thunderbird e-mail client?
Hello
I am currently using incredimail but unhappy with it. Can I import all my emails from it for Thunderbird? I use the desktop with windows 7.
Thank you.Hello
Maybe this article will help you:
-
Create new records from the other periodicies month
Hi guys,.
I have a table in which we store our customers billing data. It s a subscription service so we charge the customer periodically, some customers are billed monthly, a few times a year, some 3, and some only once. We consider these customers who paid their last active bill, so I would like to know how much each month from customers is active. So lets say we have a table like this:
Customer_Id Result Date Billing preferences 1 Successful 01/01/2013 Monthly 1 Failed 02/01/2013 Monthly 1 Successful 03/01/2013 Monthly 1 Successful 04/01/2013 Monthly 1 Failed 05/01/2013 Monthly 1 Successful 06/01/2013 Monthly 2 Successful 01/01/2013 Semestrly 2 Failed 06/01/2013 Semesterly *
I want to get a table like this:
Customer_Id State Date 1 Assets 01/01/2013 1 Not active 02/01/2013 1 Assets 03/01/2013 1 Assets 04/01/2013 1 Not active 05/01/2013 1 Assets 06/01/2013 2 Assets 01/01/2013 2 Assets 02/01/2013 2 Assets 03/01/2013 2 Assets 04/01/2013 2 Assets 05/01/2013 2 Not active 06/01/2013 Do you know a trick to get this?
Thank you very much
*
as billing
(
Select "1" as Custumer_id, "Successful" as a result, 1 January 2013 "as date_,"Monthly"as the double Billing_Preference
Union
Select '1' Custumer_id, "Failed" as a result, 2 January 2013 ' as date_, "Monthly" as the double Billing_Preference
Union
Select "1" as Custumer_id, "Successful" as a result, 3 January 2013 ' as date_, "Monthly" as the double Billing_Preference
Union
Select "1" as Custumer_id, "Successful" as a result, 4 January 2013 ' as date_, "Monthly" as the double Billing_Preference
Union
Select '1' Custumer_id, "Failed" as a result, 5 January 2013 ' as date_, "Monthly" as the double Billing_Preference
Union
Select "1" as Custumer_id, "Successful" as a result, 6 January 2013 ' as date_, "Monthly" as the double Billing_Preference
Union
Select "2" as Custumer_id, "Successful" as a result, on January 1, 2013 "as date_,"Semesterly"as the double Billing_Preference
Union
Select "2" as Custumer_id, 'impossible' as a result, 6 January 2013 ' as date_, "Semesterly" as the double Billing_Preference
)
Select * billing
order by ASC, ASC 3 1
Hello
My mistake. Just change 1 line of code, like this:
WITH got_date_billed AS
(
SELECT custumer_id
result
, TO_DATE (date_, ' DD/MM/YYYY') AS date_billed
BILLING
-WHERE... - If you need any filtering, put it here
)
got_months_needed AS
(
SELECT custumer_id, result, date_billed
MONTHS_BETWEEN (in ADVANCE (date_billed) OVER (PARTITION BY custumer_id,
ORDER BY date_billed
)
date_billed
) AS month_gap
OF got_date_billed
)
SELECT custumer_id
result AS State
, ADD_MONTHS (date_billed, LEVEL - 1) AS date_-* CHANGED *.
OF got_months_needed
CONNECT BY custumer_id = PRIOR custumer_id
AND date_billed = PRIOR date_billed
AND LEVEL<=>=>
AND PRIOR (SYS_GUID ()) IS NOT NULL
;
-
Create the table in select * from the other table
DB: 11.2.0.2
How to create a table with structure only not empty the data that we do not generally create table in select * from... But the command will pull the data also. How to create without data?create table foo
in select * bar
where 1 = 0 -
How can I put a footer which links to the first page of a PDF from the other pages?
I am trying to create a pdf file that has the "Return to Table of contents" option at the bottom of each page from 2 to 23. I know how to add a footer, and I know how to add a link, but is there a way to put a link as a footer? I don't want to go and create the links 22 for each file.
Page 2 create a button that has a mouse "Go to a page view" action that goes to the table of contents page.
Then duplicate this button on pages 3-23.
Maybe you are looking for
-
userChrome.css works on XP but not on Windows 7
Hello. I modified userChrome.css which mainly plays with widths tab in function if it is enabled or not. This works fine on XP but does absolutely nothing on Windows 7. No idea where to start looking for the reason for this? What is different in Win7
-
I'm suddenly needing help with my browser Firefox (6.0.2)
HelloI'm suddenly needing help with my browser Firefox (6.0.2) (OS: I use Windows XP). When I open the browser, I don't see is a totally white screen of white, with all the toolbars at the top. I know that my physical connections are very good: I hav
-
Indexing of a table with multiple indexes
Hi all I just used the detector of Ridge VI on table 1 d with a threshold. I now have an array of index I need to round to use as a real index. My question is, with this index corresponding to the points picture, how, I take the peak values To give
-
What is the purpose of the web platform installer?
I just installed the installer of the sea platform. What is the purpose of this program? Should I install any proposed programs?
-
AppName: explorer.exe AppVer: ModName 6.0.2900.5512: gdiplus.dll ModVer: 5.1.3102.5512 Offset: 001575e5