Problem when the over 1 function call Javascript
Hello everyone,I'm trying to disable fields based on the value in a Select list. There is a table in which the values are stored to tell whether a field should be disabled for the selected value. I have created a process of application and a JavaScript function for each field.
The problem is that only the first function is executed and the second is not.
I tried the following:
onchange="Disable_Dagen(this);Disable_Kg(pThis);"
and I put them together at a relative of JavaScript functionfunction Disable_Fields(pThis){
Disable_Kg(pThis);
Disable_Dagen(pThis);
}
In both cases the first work, so when I change the order then it is executed properly.Can someone give me a clue on how to fix this?
My JavaScript in the header complete definition is the following:
(the code in html_DisableOnValue is taken on the site of the Carl Beckstrom example)
<script language="JavaScript" type="text/javascript">
<!--
function html_DisableOnValue(pThis,pValue,pThat){
var lTest;
if(pThis.nodeName == 'SELECT'){
lTest = html_SelectValue(pThis) == pValue;
}else{
lTest = $x(pThis).value == pValue;
}
if(pThat){
for (var i=2;i <= arguments.length; i++){
html_disableItem(arguments,lTest)
}
}
return;
}
function Disable_Dagen(pThis){
var get = new htmldb_Get(null,$x('pFlowId').value,'APPLICATION_PROCESS=AP_RETURN_DISABLE_VAL_DGN',0);
get.add('AI_AFW_CODE',pThis.value);
gReturn = get.get();
get = null;
//alert('Return waarde is '+ gReturn );
html_DisableOnValue(pThis,gReturn,'P43_AANTAL_DAGEN');
}
function Disable_Kg(pThis){
var get = new htmldb_Get(null,$x('pFlowId').value,'APPLICATION_PROCESS=AP_RETURN_DISABLE_VAL_KG',0);
get.add('AI_AFW_CODE',pThis.value);
gReturn = get.get();
get = null;
//alert('Return waarde is '+ gReturn );
html_DisableOnValue(pThis,gReturn,'P43_AANTAL_KG');
}
function Disable_Fields(pThis){
Disable_Kg(pThis);
Disable_Dagen(pThis);
}
//-->
</script>
In this case the Form Element property is set to
OnChange = "Disable_Fields (this)" "Thanks, Wouter
Hi Wouter,
1. by using FireBug you can write messages to the console using console.log('blablabla'); (instead of the alert ('blah')) obvious.
2. you can disable (and activate) an element by using the function $f_DisableOnValue (pThis, pValue, pThat) standard.
3. what happens if you uncomment the alerts?
Greetings,
Roel
http://roelhartman.blogspot.com/
http://www.bloggingaboutoracle.org/
http://www.Logica.com/
You can assign this answer to your question in marking it as useful or Correct ;-)
Tags: Database
Similar Questions
-
Problem when the transformation command is called in a dialog box
Hi friends
I m a problem with the script UI. I tried different things to fix but I m not able to get success.
The script code is correct. The problem is: when I run the script and click on the button "run"... Photoshop would need execute the function to "Transform", it is called and would allow me to freely transform the selected layer.
BUT... it I cannot drag the axis of the inclusive to transform. It's because Photoshop is understand that my UI dialog is still active, even to call dlg.close (---(et je ne peux pas transformer depuis une boîte de dialogue est active)).
See:
function transform() {}
var / / desc = new ActionDescriptor();
Var ref = new ActionReference();
ref.putEnumerated (charIDToTypeID ('Lyr'), charIDToTypeID ('Ordn'), charIDToTypeID ('Trgt'));
desc.putReference (charIDToTypeID ('null'), ref);
desc.putEnumerated (charIDToTypeID ('FTcs'), charIDToTypeID ('QCSt'), charIDToTypeID ('Qcsa'));
var desc2 = new ActionDescriptor();
desc2.putUnitDouble (charIDToTypeID ('Hrzn'), charIDToTypeID('#Rlt'), 0.000000);
desc2.putUnitDouble (charIDToTypeID ('Vrtc'), charIDToTypeID('#Rlt'), 0.000000);
desc.putObject (charIDToTypeID ('Ofst'), charIDToTypeID ('Ofst'), desc2);
desc.putUnitDouble (charIDToTypeID ('Hght'), charIDToTypeID('#Prc'), 100.001);
try {executeAction (charIDToTypeID ('Trnf'), desc, DialogModes.ALL) ;} catch (e) {};}
}
var DLG = new window ('dialogue', "imagens v10 Processamento", [0,0,0,0])
DLG. Size = [120 120]
DLG. Center)
run var = dlg.add ('button', [0,0,0,0], "Executar")
Run.Size = [80,30]
Run.Location = (30, 40)
run.onClick = function () {}
DLG. Close()
var doc = app.activeDocument
var layer = doc.activeLayer
layer.isBackgroundLayer = false
Transform()
}
DLG. Show()
What Miss me?
Photoshop does not type ("range") window, so I don't know how to handle
Thank you for the help
Best regards
Gustavo.
You can't have multiple modal dialog boxes running at once. ScriptUI dialog box is modal and therefore your transformation function. What you can do for this example is move the transformation according to the dlg.show (); line.
Photoshop has a "palette" window, but because it is modeless is really only useful to the progressbars or other messages "Please wait". For the example you posted if it were a script palette would not stop at dlg.show () and wait for the user to do something. He would try to run the following line and, not finding any, stops. At best you would only see the flash window before the script completed.
-
I managed to apply the texts of edtiable as output check the CAPTCHA function by using clientListener and serverListener. a group of texts are displayed using the tags < ad: iterator > in the output page, when you click on a text of output, it is alternated with the status of selected or deselected.
then click on the button restore to call the application module restore operation, chose these texts out status will be clean in brower he but correspong values on the server side are still in selected state.
My problem is that how can I retain the OutputText component status in the browser when the restore operation is called?
I have also some ADF DURATION issues:
a. when operation rollback is called, will be updated on all the components in the page?
b. when I set "binding" compenent properties < ad: iterator > related to the backing bean property, why is there only one child to < ad: iterator > compenent: activeOutputText, not a collection of activeOutputText?
c. when I try to set the property 'id' of activeOutputText with #{terminalItem.AbbrTerminalM} and run and it prompted this invalid id value. real value of this EL is alphabetical.
JSF page:
<af:resource type="javascript">
function processTerminalCodeClicked(event){
var source = event.getSource();
var terminalCode = source.getProperty("terminalCode");
var isChecked;
if(source.getInlineStyleProperty("background-color")!=""){// selected
source.setInlineStyleProperty("background-color","");
isChecked = false;
}else{// not selected
source.setInlineStyleProperty("background-color","#94ff94");
isChecked = true;
}
AdfCustomEvent.queue(source, "terminalCodeClicked", {'terminalCode' : terminalCode, 'terminalCodeChecked' : isChecked}, false);
}
</af:resource>
...
<af:iterator id="i1" value="#{bindings.TerminalView11.collectionModel}" var="terminalItem" rows="100">
<af:panelGroupLayout id="pgl6">
<af:activeOutputText value="#{terminalItem.AbbrTerminalM}"
id="aot1" clientComponent="true"
inlineStyle="cursor:pointer; ">
<af:clientListener type="click"
method="processTerminalCodeClicked"/>
<af:clientAttribute name="terminalCode"
value="#{terminalItem.TerminalC}"/>
<af:serverListener type="terminalCodeClicked"
method="#{pageFlowScope.yardPlanControllerManagedBean.processTerminalCodeClicked}"/>
</af:activeOutputText>
</af:panelGroupLayout>
</af:iterator>
Managed bean:
private List terminalCodeList = new ArrayList();
....
public void processTerminalCodeClicked(ClientEvent clientEvent) {
String terminalCode = (String)clientEvent.getParameters().get("terminalCode");
Boolean terminalCodeChecked = (Boolean)clientEvent.getParameters().get("terminalCodeChecked");
if(!terminalCodeChecked.booleanValue()&& terminalCodeList.contains(terminalCode)){
terminalCodeList.remove(terminalCode);
} else if(terminalCodeChecked.booleanValue() && !terminalCodeList.contains(terminalCode)){
terminalCodeList.add(terminalCode);
}
if(terminalCodeList!=null && !terminalCodeList.isEmpty()){
setValueToSession("currentTerminalCodeList", terminalCodeList);
}else{
FacesContext ctx2 = FacesContext.getCurrentInstance();
FacesMessage msg2 = new FacesMessage(FacesMessage.SEVERITY_ERROR,"no terminal is selected!", "Please at least select one terminal!");
ctx2.addMessage(null, msg2);
}
}
I managed to reslove parts of the problem and the selected state of the output text can be kept now.
Remember the State selected in the list in bean managed, trigger refreshing of the page layout group containing all the output text and selected status of the output is determined by inlineStyle = "#{pageFlowScope.yardPlanControllerManagedBean.terminalInlineStyle"} "
JSF page:
function processTerminalCodeClicked(event){
var source = event.getSource();
var terminalCode = source.getProperty("terminalCode");
var abbrTerminalM = source.getProperty("abbrTerminalM");
var isChecked;
if(source.getInlineStyleProperty("background-color")!=""){// selected
//source.setInlineStyleProperty("background-color","");
isChecked = false;
}else{// not selected
//source.setInlineStyleProperty("background-color","#94ff94");
isChecked = true;
}
AdfCustomEvent.queue(source, "terminalCodeClicked", {'terminalCode' : terminalCode, 'abbrTerminalM': abbrTerminalM, 'terminalCodeChecked' : isChecked}, false);
}
Managed bean:
private List abbrTerminalMList = new ArrayList();
public void processTerminalCodeClicked(ClientEvent clientEvent) {
String terminalCode = (String)clientEvent.getParameters().get("terminalCode");
String abbrTerminalM = (String)clientEvent.getParameters().get("abbrTerminalM");
Boolean terminalCodeChecked = (Boolean)clientEvent.getParameters().get("terminalCodeChecked");
if(!terminalCodeChecked.booleanValue()&& terminalCodeList.contains(terminalCode)){
if(terminalCodeList.size()>1){
terminalCodeList.remove(terminalCode);
abbrTerminalMList.remove(abbrTerminalM);
}
} else if(terminalCodeChecked.booleanValue() && !terminalCodeList.contains(terminalCode)){
terminalCodeList.add(terminalCode);
abbrTerminalMList.add(abbrTerminalM);
}
AdfFacesContext.getCurrentInstance().addPartialTarget(terminalsPanelGroupLayout);
}
public String getTerminalInlineStyle() {
String inlineStyle = "cursor:pointer;";
if(terminalActiveOutputText != null){
String abbrTerminalM = terminalActiveOutputText.getValue();
if(abbrTerminalM != null && abbrTerminalMList.contains(abbrTerminalM)){
inlineStyle = "cursor:pointer;background-color:#94ff94";
}
}
return inlineStyle;
}
-
I want to just state change when the data set are called in GridItemRenderer
I have a GridItemRenderer here, however when the user mouse over it the States returns to criticism, I want only state change when the data value is called
<? XML version = "1.0" encoding = "utf-8"? >
" < = xmlns:fx s:GridItemRenderer ' http://ns.Adobe.com/MXML/2009 "
xmlns:s = "library://ns.adobe.com/flex/spark".
xmlns:MX = "library://ns.adobe.com/flex/mx".
clipAndEnableScrolling = 'true' currentState 'critical' = >
< fx:Script >
<! [CDATA]
import of utils. UsefulConstants;
override public function set data(value:Object):void
{
Super.Data = value;
put the text in red to indicate the old value
{if (Data)}
{if (!) Data.dateAcknowledged)}
this.currentState = "critical";
}
ElseIf (data.dateReceived.time - data.dateReceived.time > UsefulConstants.oneDay) {}
this.currentState = "warning";
}
ElseIf (data.dateReceived.time - data.dateReceived.time < UsefulConstants.oneDay) {}
this.currentState = 'safe '.
}
Else if (data.status == 'CLOSED') {}
this.currentState = 'safe '.
}
else {}
throw new Error ("unexpected conditions for data.dateReceived.time - data.dateReceived.time'");
}
}
}
[]] >
< / fx:Script >
< s: states >
< name s: State = "critical" / >
< name s: State = "WARNING" / >
< name s: State = "safe" / >
< / s: states >
< s:HGroup x = "-1" y = "-1" width = "100%" horizontalAlign = "center" verticalAlign = "middle" height = "100%" >
< s:Graphic id = "icon" includeIn = "criticism, warning" x = "-1" = "5" width = "16" height = "20".
version = "2.0" viewHeight = "600" viewWidth = "200" >
< s:Ellipse width = "88" height = "401" = "58" x y = "37" >
< s:fill >
< s:SolidColor alpha = "1" color = "#FE4744".
Color.Warning = "#Ff7f45" / >
< / s:fill >
< s:stroke >
< s:SolidColorStroke color = "#FE3D44" alpha = weight '1' = '1' / >
< / s:stroke >
< / s:Ellipse >
< s:Ellipse width = "51" height = '97' x '79' = y = '478' >
< s:fill >
< s:SolidColor alpha = "1" color = "#FD8E9E".
Color.Warning = "#f69240" / >
< / s:fill >
< s:stroke >
< s:SolidColorStroke color = "#942EC8" alpha = "0.62" / >
< / s:stroke >
< / s:Ellipse >
< s:Ellipse width = "31" height = "147" x = "72" y = "122" >
< s:fill >
< s:SolidColor alpha = "1" color = "#FD8E9E".
Color.Warning = "#f69240" / >
< / s:fill >
< s:stroke >
< s:SolidColorStroke color = "#942EC8" alpha = "0.62" / >
< / s:stroke >
< / s:Ellipse >
< / s:Graphic >
< s:Graphic
includeIn = "safe" width = "20" height = "20" version = "2.0".
viewHeight = "600" viewWidth = "600" >
< s:Path data = "M49, 294 L245, 410 L 551, 116 C 551, 116 259 519 257, 516 L 49 of the 294Z" winding = "not null" x = "-13,5" y = "-57.3" = "1.051689863204956" scaleY scaleX = "1.122194528579712" >
< s:fill >
< s:LinearGradient = "49" x = "115.95" scaleX = "402.4029386075604" rotation = "18.660078428615776" >
< s:GradientEntry color = ' #359F66 ' ratio = "0.006535947712418301" / >
< s:GradientEntry color = ' #7EFA4A ' ratio = "0.9803921568627451" / >
< / s:LinearGradient >
< / s:fill >
< s:stroke >
< s:SolidColorStroke color = "#C6A470" alpha = weight '1' = '1' / >
< / s:stroke >
< / s:Path >
< / s:Graphic >
< / s:HGroup >
< / s:GridItemRenderer >
Override getCurrentRendererState() to return the correct status based on the data.
-
How to solve a problem when the windows setup program does not open a program, says I need installation cd and a 1706 error message happens.
Hi PAtwoodwu,
1. what program are you trying to install?
2. did you of recent changes on the computer?
3 does happen with all programs?
Check and make sure that the Windows service install is running on the computer.
(a) click on start to reduce this includes this image, click run , type services.msc , and then press enter to open Services.
(b) right click on the Windows Installer service and then click Properties.
(c) if the box Startup type is set to Disabled, change it to Manual.
(d) click on OK to close the Properties window.
(e) right click on the Windows Installer service and then click Start. The service should start without errors.
(f) click on the file menu, and then click exit.
-
The repeated CFC function call is much slower than the UDF version
For a project, we were faced with unexpected behavior of a CFC. Without going to much into the details of the project, it boils down to the following: when we run through a set of records, say 100 and apply a function to this topic, the overhead is 4-5 seconds extra when we call it a component instantiated (only once) compared to when code us as a UDF. Since our application can process thousands of records in 1 past the overload will quickly over 100 seconds compared to the UDF.
I was wondering if there is no logical explanation for this behavior. From what I understand a function called from a component should not add any notable overload after the component was instantiated.
Our installation is an installation of Coldfusion 8 Jrun running on Linux. We didn't really find anything on the web documenting this (or we found we have said that there will be no additional charge). We could modify the function call to a call from the UDF, but we prefer to keep in a CFC as there are more things behind the scenes that just formatted data.
B.
HA! Cool!!! I think I solved it something, I feel so proud.
I run the code of Adam and the first time I ran it I got similar to Biebel3 results. But it's curious, I got the output of debug it showing that it wasn't show where the time was spent. He would show almost two full seconds to build the page of CFCS, but the components in the table of debugging only added up to about 50 milliseconds.
I tired first put a top of the page of CFC, but that has not changed the results. Because even if you do not display the results, ColdFusion still satisfied the debug output. I went into the administrator and effectively disabled the debugging feature.
Alto, I started to have the results displayed by Adam.
It seems that it is a question where it takes a lot of overhead for ColdFusion compile a record of debugging for each call of CFC in this large loop.
The good news, this is a pretty easy solution for a production system.
-
Issue when the external Web service call
Hello
I'm calling the webservice from BPEL which fails with the following error:
Cannot call endpoint URI 'http:---' successfully due to: javax.xml.soap.SOAPException: failed to read the answer: org.xml.sax.SAXParseException: content is not allowed in the prologue.
When I try to test the standalone version of webservice, it returns the following data-
< assystEJB >
No guys, his problem with binding HTTP adapter, when the REST service is invoked by using the HTTP adapter, it adds its own operation.
Due to which this error is visible. I now invoke service REST of java and its working fine.
-
11G with ASM and RDBMS problem when the server reboot (dependencies)
Hello
I just install the new version 11G with ASM for the first time. When I restart my server, RDBMS start before the ASM service isn't over to start. It's like when the care services, CSS and EVM have been replaced by the OH dependencies have been lost. The OH service is started but it's as if he is not optional and others start immediately (ASM and RDBMS).
Early restart, I see the OHservice started and the DSO after that (on the road), but when the RDBMS starts the instance handle of stay (inactive and not mount) because unit number logic for the catalog of service is not available yet. I see in the alert.log to RDBMS catalog segment is not found or not existing (/ catalog not nfound).
If I wait about 3 to 5 minutes and restart only the RDMBS all start without problem.
Is there a way I can adjust the stop with the 11g version service or use the crsctl to indicate to the RDBMS service start only when all the ASM service (MON) segment are mount?
Thank you Normally the database is started by the clusterware and not by the windows service.
Thus, there could be 2 ways to do this:
(a.), try to assign the Windows of the database service to manual. It must be started by clusterware.
If that doesn't work, try this:
(b) leaving the service to automatic startup (Windows), but disable the automatic start of the database. This you can normally change in the registry
-Online-online Oracle-online key HKLM => ORACLE__AUTOSTART
(not 100% sure on the key, but I'm sure that you'll be able to find it.)
Unfortunately do not have atm WindowsCluster to try it myself.
Additional please check if your db instance has the correct dependencies defined in the clusterware.
Make one
stat ora res crsctl. .db Pei
and paste it here.
So good luck...
Sebastian
-
Problems of the inverse tangent function
Hello
I try to use the function trigonometric "arctangent", but it does not work because I think that it should. I want to change a gradient at an angle, normally on a calculator, I use height divided by the length and press the tan ^-1 (inverse tan) function and get the angle. For example, the inverse tangent of 1. 45 (degrees) If I use the inverse tangent function in Labview 2010, I get a completely different = 0.7853 result... I use it wrong or the function does not work correctly.
I've attached an example so that you can reproduce the result. I also had a similar problem with sin and cos in the formula of node structures.
Thanks for any help you can give,
James
Hi James
I have not seen your VI. I know, given out by the trigonometric functions in Labview is expressed in radians. You need to radian to degree conversion for the response under 45.
Concerning
Javed
-
Problem when the PWM signal combinning and analog signal TOGETHER!
Hello everyone,
first I DAQmx 6212, and I need to run the water pump small (9V - 16V) that should be driven by a PWM signal; I also have a motor (5V - 13V) for a water supply which must be controlled by an analog signal and it has built in a force feedback potentiometer, I logged onto this potentiometer correction + 5V the DAQmx and used the output voltage of the third extremety as a value to diagnose to know the position of the engine.
My VI shows:
1 is a normal meter production to create my PWMout signal.
2 is an analog input, I use it as a PWMin to the LabVIEW to diagnose what is happenning in my pump water through the cycle and frequency.
3 is an entry of the third extremety of the analog potentiometer.
4 is an analog output that I used as power supply of the motor valve and I used an AC/DC amplifier for aplify signal the DAQmx and the motor road, between the two (3. 4.) I made a comeback with a few calculations, I had a P-controller to know the real position of the engine valve.
My problem:
When setting to 1. and 2. in the same VI only, I get an own PWM output with no problem.
also with 3. and 4. in the same VI only i can control the motor valve without any problem.
but when I put all these 4 set found in the attached VI, I have a problem as the engine valve turn continuously without stopping even if I change the position of the valve between 0 and 100%, I should mention that I see a PWM normal outside a signal on my oscilloscope, another thing to delete one of (1 or 2) and run the engine valve VI works fine without any problems.
so this my problem, if you can think of any solution please let me know.
Thanks in advance for your help.
Kind regards
Caliente
Here's your VI, slightly modified so the two analog inputs belong to the same task. This if only for purposes of illustration, I him have not tested. You will still need to do some debugging.
While changing your VI, I noticed another potential problem with your original configuration. You have configured the two tasks of AI for the same frequency, but read you 10000 samples of one of them and only 100 samples from the other (and throw it most of it). Data acquisition data are buffered, and if you read as fast as you acquire, the buffer fills eventually. If you read 10,000 samples of a channel, and the other channel acquires at the same rate, then when you read from the second channel you will get old stale data or an error full buffer.
-
Problem when the copy of the newspaper
I just bought a new Pro Laserjet MFP M276nw. When I copy the daily crossword from the newspaper, empty cells prints gray rather than white as was the case with my previous ink jet which was a HP 309 has. I don't see all the parameters that will change that outside the change of 'lightness' or 'dark' settings. Is there a solution?
Hi RossL49,
I see that you are having problems when copying. Daily crossword cells are printing in gray instead of white.
I'll be happy to help you.
A cheque to document all the copy settings to see if this will solve the problem.
You can define a new default copy settings once the problem is resolved.
You can save any combination to copy the settings as default settings to use for each job.
In the home screen, press the copy button.
Press the settings button.
Configure the copy settings to your
preferences, then highlight and touch the
Set as default button is new.
Press the Yes button.
To test the paper (newspaper - which is not bleached paper) print a worksheet with empty cells and make a copy to see if they are white.
Please let me know if you need additional assistance.
Thanks for posting on the HP Forums.
Have a great day.
-
problem when the old program running on windows 7
Hi I am using windows 7 64 bit.
At the moment, I really wanted to go back to the era when I still have a kid who play soccer games on computer. at this point, I use windows xp, and it's my favurite game program
Manager FIFA soccer 96/97
The 98 World Cup
FIFA 99
the 99/00 Championship Manager
now I am using windows 7 64 bit and meet a lot of problem
the game works well, because I set the compatibility mode to windows 98.but it is just the text.so in the game of football, his divided to two parts. the first part is text, where we see players, statistics, etc. that work well
the second is soccer game. I believe that associated with vga and color. and that's the problem. I see so many pixel, playing the football game on these games
I guess that this is related to my "64 bit version" of windows. because when I was googling somewhere, I see old-fashioned, using 16-bit. This my vga downgrade and cannot display video smoothly.
What should I do?
Hello
Please contact the Microsoft Community.
I wish that you contact the respective developers of the game or play the game and check if there is a patch available for the same thing.
We know if you need help.
Thank you.
-
Using the AVCHD settings and 60 fps creates problems when the final product will be at 24 fps
Using a canon vixia HF R62, trying to get the end result of highest quality of my work. I learned that shooting AVCHD to 60 fps is the highest quality I can achieve. What problems can I encounter when the final will be played at 24 frames per second?
Suggestions for the workflow would be greatly appreciated, as I'm at the very beginning of learning what and how to do things properly.
Robert
Hi Robert,.
If you look at a picture of the 24 p video and compare to a frame of the video of 60 p, 60 p frame will look better. When people say 60 p is the best quality, it's because you get several images per second... not better executives... just more of them. But as we have already mentioned, it is useless in shooting 60 p If you send only 24 p. Frame rate conversion will affect the final quality!
Just keep in mind that you need to adjust your style of shooting for the 24 p, which means no fast pans for example of what they will offer very rough.
Thank you
Jeff Pulera
Safe Harbor computers
-
Convert editable PDF read-only when the Envoy in an email - JavaScript
I have a real estate company that is trying to have an application that an agent and the customer can fill in the necessary information, press "submit" button, have the javascript code to compose an email with the attached pdf file. Here's the question I'm having: I need to be able to convert the editable PDF reading only so that when the client receives a copy that they can not change the information again.
Here is my code for the Send button javascript:
It's the return of form e-mail. It is hardcoded
to make the form comes back to the same address.
Change of address on your form to match the code below
Email business
var cToAddr = " " [email protected] "; "
First of all, download the customer email CC
var cCCAddr = this.getField("1st_Tenant_Email").value;
If (cCCAddr! = "")
Download now the second email only if it is filled
var cBenAddr = this.getField("2nd_Tenant_Email").value;
If (cBenAddr! = "")
Get now the third E-mail only if it is filled
var cthirdAddr = this.getField("3rd_Tenant_Email").value;
If (cthirdAddr! = "")
Set text object and the body of the e-mail message
var cSubLine = 'Test - form of contract '.
var cbody = "thank you for submitting your form. \n' + 'save the attachment of the completed form for your records.
Send the PDF as an attachment to an e-mail
this.mailDoc ({bUI: true, cTo: cToAddr, cCc: (cCCAddr + ";")})
(+_cBenAddr_+_";"_+_cthirdAddr), bassujetti: cSubLine, CMSG: cbody});
I found a work around because I didn't buy something else. I changed the digital signature so that once it has been signed, it would turn into read-only except for the Send button. With the button send, I used the code above to submit the pdf now read-only for the company by e-mail and cc tenants. I hope this will help others also.
-
Flash CS5.5 freeze problem when the film test.
So, I worked on a new animation for several months and I've encountered a problem.
Details: After exporting swf by testing the full movie, it plays the first four scenes, and then after that it crashes.
Symbols to continue, but the film does not progress past this stage.
I cut the scene, removed my vcam filters and even tried to run on an older version of Flash.
I have read a few forums of people with similar problems and the general response is that they corrupted in their library files.
Corrupted in the library files apparently have a "Preview not available" sign when you click on it in the library.
After going through all my library items (this is more than in 2000) I do not have with this sign.
I really need help I worked real hard on this project.
Help, please! I use Flash cs5.5
Thank you, Flip.
It could be the result of exceeding the limit of the frame in Flash (16 000 images).
Maybe you are looking for
-
Pavilion sleekbook 14: need help
When I connect my 14 computer sleekbook hp laptop pavilion that the screen goes blank.but I see the cursor is moving.i can here the sound.i windows can run on safe mode.programms works that BT can not see anything.os is win 7
-
Black screen when shut down or reboot Satellite A300 - 15 M
Hey,. When I stop or restart the laptop, I get a black screen and in the middle that it says blue enter password... Keep in mind that it is before you reach the vista page
-
When I try to use the Snipping Tool I get a message saying that "the capture tool doesn't on your computer right now. Restart your computer and try again. If the problem persists, contact your system administer. »What can I do to fix this?Thank you
-
On blade exit variable will not change
With the help of Cp 9. I have a user variable I want increment or assign a value to the output of a slide, but it is not simply do it. It does on enter, no problem...This happens using Actions and advanced Actions. This design work?Thank you.
-
How to stop a virtual machine to automatically close after a period of inactivity
I have a VM 2012 server acting as a domain controller in a test environment. I do not work on it a lot, but he must run as I work on test VMs (W7 and W8).The problem is after a period of inactivity, the server vm stop all services and stops. I did