Hiding Fields with the same name
I have multiple fields across a form with the same name
TxtName#1
TxtName#2
TxtName#3..... TxtName#24
They are all share the same name because they should all have the same data.
I want to be able to hide some of these fields, based on the number entered in another field TxtQty.
for example if TxtQty=2 then
TxtName#3-TxtName#24 will be hidden and only TxtName#1 and TxtName#2 will be visible.
Can anyone please help?
Thanks!
The easiest way is to rename TxtName #1 and #2 to "TxtName2", and use the following custom Validate script for each:
// Copy this field's value to the TxtName fields
getField("TxtName").value = event.value;
You can then hide all of the TxtName fields with:
getField("TxtName").display = display.hidden;
Similar Messages
-
Lsmw error - no fields with the same name
Dear Experts,
I am trying to upload master data through LSMW through Standard Batch/Direct Input but when i am executing the step READ DATA it is throwing me error as
File 'C:\Documents and Settings\Guest\Desktop\DMS.TXT' and source structure 'ZEQUI_STRUTURE' have no fields with the same name.
Even though i cheked my flat file in notepad i used the following field for it
AEDAT
EQTYP
SHTXT
EQART
GROES
ERDAT
ANSDT
ANSWT
WAERS
HERST
HERLD
TYPBZ
BAUJJ
BAUMM
SERGE
SWERK
STORT
BEBER
GEWRK
ABCKZ
EQFNR
BUKRS
ANLNR
KOSTL
IWERK
INGRP
TPLNR
HEQUI
Regards,
Rip.
Edited by: Julius Bussche on Jan 20, 2009 11:04 AM
Please use meaningfull subject titlesHi Ripel,
When you are assinging a file if it has field names in first row then select "Field names at Start of file", if not names then uncheck the box at "File Structure".
If fields are using, then check the tabulator in file and Uncheck the "Field order matches Source structure Definition."
Regards,
Sunil
Edited by: Sunil Reddy Sibbala on Jan 20, 2009 11:10 AM -
Custom fields with the same name in Project Online
Today I discovered something interesting when creating custom fields in Project Online.
I usually create a certain set of custom fields that are useful to have on both the project and the task level. An example of these is Reportable, which I use to determine which tasks to roll up into reports and also which projects overall to report on.
So I created a project level custom field called Reportable. No problem.
I then created a custom field on the task level called Reportable. And the computer said no!
I then learned that although you could do this in Project Server 2013, you can't in Project Online. You can't have duplicate custom field names, even if they are of different types.
This has led me to use a naming standard, such as Reportable Task and Reportable Project. But I really don't like that as codes are for computers, not us humans. So I hope this changes in the future, but for now you just need to think about how you approach
the fields.
Good luck!
Ryan Darby
National Manager PMO
www.ipmo.com.au
www.projectonline.com.auHi Ryan,
I would follow Ben on this..
Just made a test on a Project 2013 instance on-premise and I cannot create a task ECF and a project ECF with the same name. The same test on a Online instance returns the same result: the ECF names must be unique whatever the entity is.
Waiting for Ben's confirmation.
Hope this helps,
Guillaume Rouyre, MBA, MVP, P-Seller | -
How can I have two fields with the same name if it makes sense?
Hello, folks :)
I have a pretty hard time figuring out how I can have two text fields with the same binding name.
The whole problem is that when I need two fields with the same binding name they are still differnent coz they have the same name but differnt indices.
I should make a form filled at runtime by merging a pdf form file and an fdf file data file. And I have no choice to do it differently. And my form file needs some data like customerName, companyName twice in one form. But there's only one possible buinding name indexed zero.
How can I create a field with absolutely the same name or is it just impossible due to possible name conflicts? And is there a workaround to this problem? I just need one piece of data repeated in different places.
Thanks for your replies :)
P.S. if u think that the problem is not clear enough let me know. I'll supply you with more details. But the general process can not be changed.
One pdf should be mergred with an fdf with as the result of their merge a new filled and flattened form. I have no control over fdfs their are generated by Oracle and I can not fill the form using XML files coz this process should be integrated in a working application.I just thought about a really ugly workaround with a server-side script adding values to fdf files but it's a bit of work and tests and personally i think it's a bad idea :-(
-
Question on multiple form elements with the same name !
Hi All,
I have a requirement in which more than one text field with the same name exists on a HTML page. We are using JSF framework (Oracle JDeveloper IDE and OC4J ) . I tried using a String array in my backing bean to handle these text boxes. When I hit the Submit, the action (method) is not invoked. But when I try with unique names everything works fine. Am I going wrong somewhere ?
Thanks in Advance.You cannot have exactly the same name on objects.
You will have to make an array of them to be able to
o work with them properly--it will keep the names
unique.I understand! But JSF creates its own names which are unique. The following JSF code
<htm:tr>
<htm:td>
<h:inputText value="#{Test.description}" id="description1"/>
</htm:td>
</htm:tr>
<htm:tr>
<htm:td>
<h:inputText value="#{Test.description}" id="description2"/>
</htm:td>
</htm:tr>generates the following HTML code with unique names.
<tr>
<td>
<input id="Test:description1" type="text" name="Test:description1" />
</td>
</tr>
<tr>
<td>
<input id="Test:description2" type="text" name="Test:description2" />
</td>
</tr>
<tr>Though I have a String Array in the backing bean, this doesn't work (The form does not submit to the method in the Backing Bean).
Similar situation in Struts works absolutely fine.
Any help would be appreciated !!! -
Using variable with the same name as field name?
I have a complex proc where I have variables with the same name as field name used on a query. something like this:
SELECT a.id_table WHERE a.id_table = id_table
where the last id_table is a parameter sent to the proc:
declare procedure myproc(id_table int)
Is there any way or notation to declare the variable inside the query as a variable or I have to use a different name?Well, variables are not the only thing you have to change if you want to switch to Oracle.
Although I don't think it is good practice (to use variable name same as column name), here is one example how you can achieve it using EXECUTE IMMEDIATE and bind variable
SQL> select deptno, count(1)
2 from scott.emp
3 group by deptno;
DEPTNO COUNT(1)
30 6
20 5
10 3
SQL> set serveroutput on
SQL> declare
2 deptno varchar2(10);
3 i number;
4 begin
5 deptno:=10;
6 execute immediate
7 'select count(1) from scott.emp where deptno=:deptno' into i using deptno;
8 dbms_output.put_line('OUT ---> '||i);
9 end;
10 /
OUT ---> 3
PL/SQL procedure successfully completed.
SQL> Message was edited by:
tekicora
Message was edited by:
tekicora -
Bean property and public field found with the same name: getid
Hi all,
I have a ejb jar file contains some local entity beans and one session bean
, the session bean has some functions suck as findXXXByQuery() , InsertXXX()
, and I have created some model class for the entity bean , and use it as
the parameter or return type of the session bean , then I want to transfer
the session bean as a webservice , using ant automaticly . All this function
successfully in weblogic 6.1 , but when I want to run ant command in
weblogic 7.0 , an error occured :
[servicegen] weblogic.xml.schema.binding.BindingException: Error: bean
property
and public field found with the same name: getid
Yes , I have a getid field in table , a getid in entity bean , and a getid
property in model class , but what different does it make ? Would you mind
to test my jar file ? I send all files as attachments .
Any advice will be appreciate .
lcl
[build.xml]
[work.jar]In article <[email protected]>, lcl <[email protected]> wrote:
-=-=-=-=-=-
Hi all,
I have a ejb jar file contains some local entity beans and one session bean
, the session bean has some functions suck as findXXXByQuery() , InsertXXX()
, and I have created some model class for the entity bean , and use it as
the parameter or return type of the session bean , then I want to transfer
the session bean as a webservice , using ant automaticly . All this function
successfully in weblogic 6.1 , but when I want to run ant command in
weblogic 7.0 , an error occured :
[servicegen] weblogic.xml.schema.binding.BindingException: Error: bean
property
and public field found with the same name: getid
Yes , I have a getid field in table , a getid in entity bean , and a getid
property in model class , but what different does it make ? Would you mind
to test my jar file ? I send all files as attachments .
Any advice will be appreciate .
lcl
-=-=-=-=-=-For better or worse the JAX-RPC spec requires this behavior. From
section 5.4.1:
"There is no standard mapping for the case when a JavaBean property
has the same name as a public field. A Java to XML mapping
implementation is required to flag this case as an error."
Since you are not the first person to run into this restriction I'm
beginning to think we need an option to bypass it.
--Scott -
How to differentiate between Radio Buttons with the same name?
My form has two fields, to which I gave the same name ("Radio Button 1.0") in order to achieve mutual exclusivity.
Now, I would like to use JavaScript to retrieve the value of one the two fields:
var checkMark = this.getField("Radio Button1.0");
if (checkMark.value == "Yes") {
Questions:
What is the proper way to inspect the value of a Radio Button? I have tried this:
if (checkMark.value == "No") [...]
but it doesn't seem to work.
How can I tell apart 2 radio buttons with the same name?
TIA,
-RFHWhen Radio Buttons and Check Boxes are unchecked their value is "Off", so if you have "Yes", "No" buttons you will also encounter an 'Off" value. Now if you want to look at a given button, you will have to use the "isBoxChecked(nWidget)" method.
nWidget:
The 0-based index of an individual radiobutton or checkbox widget for this field. The index is determined by the order in which the individual widgets of this field were created (and is unaffected by tab-order).
Every entry in the Fields panel has a suffix giving this index, for example MyField #0.
Returns
true if the specified widget is currently checked, false otherwise.
Example
var f = this.getField("ChkBox");
if(f.isBoxChecked(0))
app.alert("The Box is Checked");
else
app.alert("The Box is not Checked"); -
Bug with workflow that creates a folder and sub folder with the same name.
Hi,
I've found a possible bug in SharePoint 2010 workflows. I only have access to SharePoint 2010 and SharePoint Designer 2010 over my companies intranet, afaik I don't have access to to logs or anything server side so sorry for the any missing information.
I had some problems with a workflow in one list that needed to create some folders and subfolders in a second list. The production version did a lot more so I setup a test area with 1 list and a workflow that only does the folder creation part and have managed
to consistently replicate this problem.
The test list has two columns, [title] and [sub folder title]
The workflow starts by getting the values for [title] and [sub folder title] into variables.
It then creates a folder in the same list with the same name as [title], and then creates a sub folder under this with the name from [sub folder title]
So the resulting structure would be:
Test List:-
List item with fields [title] and [sub folder title]
[folder: title]:-
[folder: sub folder title]
If both folder names are different (e.g Folder1 and Folder2) then it works perfectly fine, if both folder names are the same (regardless of character case, e.g. samefolderName and sameFolderName) then the workflow fails.
As part of the test i made the first action of the workflow to log the message "Workflow Started" to the history list. When the workflow fail there's nothing logged in the history list other than the error: "The workflow could not update the
item, possibly because one or more columns for the item require a different type of information."
Creating a sub folder with the same name as it's parent works fine manually but for some reason a workflow can't seem to do it in one action.
As there's no history list entries before the error it looks like the workflow is just failing to start but if i do something like add an if statement to check if [title] and [sub folder title] are the same, and only create the subfolder when they are not
then it runs fine doing what it's set to.
The function of the workflow in our office was for convenience so were just working without it. Just wanted to post to see if anyone else has come across this/could try to replicate or explain this and see if it's a SharePoint bug or something specific
to our setup.
thanks,
Martinnot sure about the specifics of your workflow, but if you're querying the list for the folders... keep in mind that a list lookup will only ever bring back ONE item... even if there are several items that meet the filter criteria... example: if i search
a list for an item assigned to "john doe", there may be 15 tasks that meet the criteria, and it'll only grab one... this is why SP Designer WARNS you when your list lookup may exhibit this behavior.
Scott Brickey
MCTS, MCPD, MCITP
www.sbrickey.com
Strategic Data Systems - for all your SharePoint needs -
Use two VIs with the same name, different functionality on a single Project
Hi, I'm working with vision builder al labview, I need to integrate the vision builder migration Vis into my main program, (Is not an option), but I have multiple Vis autogenerated with the same name, how can i integrate them in the same project without dependency problems
Thanks in advanceHi,
Unless you really need tight integration between the Vision code and the rest of your LabVIEW application, or would rather not have to pay for a Vision Builder AI runtime license on the targets on which you want to deploy your final application, I would recommend you look into using the Vision Builder AI LabVIEW API instead of migrating the inspection to LabVIEW.
The API allows to control Vision Builder AI by launching a Vision Builder AI engine, running the inspection and retrieving resulting images and results.
The advantage of the API is that it allows for easier modification and debugging of the Vision Inspection that you designed in Vision Builder, if you need to make changes later. (i.e. all you need to do is open the inspection in Vision Builder AI, modify parameters, add steps etc).
You won't have to change your LabVIEW application, unless you want to output additional results.
When you build and deploy your application, you will need to install Vision Builder AI on the target machine and get a runtime license for it.
Migrating the inspection to LabVIEW is a one way deal. If you need to make changes to the inspection, you will have to migrate the inspection again, or modify the code outside of the Vision Builder AI environment.
As you might have noticed, the code generated is quite complex, and it is recommended to go this route only if you need really tight integration/synchronization between the vision code and the rest or your LabVIEW code, or if you would rather pay for a cheaper Vision runtime license rather than a VBAI runtime license for the deployment machine (in case of deploying multiple systems where cost is a big consideration).
Vision Builder AI API examples are located in this folder:
C:\Program Files (x86)\National Instruments\Vision Builder AI\API Examples\LabVIEW Examples
Hope this helps clarify the use cases and help you make the right decision for your design.
Best regards,
Christophe -
Often times when I copy a CD into my library it will break my CD into multiple albums in my library, each with only a few songs.
Usually this is because there might be songs where the artists has other artists in the song.
How can I compile all of the different albums (all with the same name by the way) back into one as was the original disc?Generally all you need to do is fill in an appropriate Album Artist. For more details see my article on Grouping Tracks Into Albums, in particular the topic One album, too many covers.
tt2 -
So, the problem is,
I used these school Macs right? They're school handed and stuff. Then one day I decided I want admin so I do this thing where I "reset" everything on the Macbook using this Video (at the bottom) http://www.wikihow.com/Reset-a-Lost-Admin-Password-on-Mac-OS-X
Then I do it, it takes me to the new User. That's not what I want so I shut down, then made an account with the same name as my current account (let's call it Y). Then I delete Y on purpose. I deleted it because I didn't want my school to know I had this account. Realise I wanted it again so I made an account, let's call it X then when I have X I deleted Y. Then I realised my AirDrop name said X so then I made a new account, this time let's call it Z, with Z I delete X and then I deleted Z because I don't want my school to know I have Z but then Z is also the same name as my main/current account. Somehow or something I delete my current account leaving me with Z. Now I can see my account and stuff but don't know how to restore it.
Picture will be provides later.
PLEASE PLEASE PLEASE HELP ME. I HAVE SCHOOL TOMORROW AND I DON'T WANT MY PARENTS TO FIND OUT.It is a bad idea to hack computer passwords when you don't own the computer
Good luck with the school and the parents. -
How to create reports servers with the same name in two nodes in Reports
Greetings
We are migrating Oracle Application Server 10g (9.0.4) to a better hardware infrastructure with high availability. We want to provide 2 new Oracle Application Server 10g (9.0.4) in High availability and we want to avoid modify the existing forms and reports code, but the code is looking for a specific reports server name when calling reports, but I couldn't create the same reports server name in the both oas machines, I could create the reports server in only one node. I want to create a reports server with the same name in both nodes but it is not possible. I know that there is a procedure to do that in 10.1,2 (Note 437228.1, How to Create Two Reports Servers With the Same Name in the Same Subnet) but I couldn't find the equivalent procedure in 9.0.4.
Anybody kwows how to create a reports server with the same name in two nodes using 10g (9.0.4)
Thanks
Ramiro Ortiz.Hello.
I applied the patch 4092150 on my oas 9.0.4.2 and I modified my rwnetwork.conf file changing the port to 14022 by following the note "How to Create Two Reports Servers With the Same Name in the Same Subnet? [ID 437228.1]" but I am facing the same error rep-56040 "server already exists in the network".
When I run osfind command I get the following information (My reports server is senarep and I want to create it on SNMMBOGOAS10):
osfind: Found 2 agents at port 14000
HOST: SNMVBOGOAS10.sena.red
HOST: SNMVBOGOAS09.sena.red
osfind: There are no OADs running on in your domain.
osfind: There are no Object Implementations registered with OADs.
osfind: Following are the list of Implementations started manually.
HOST: SNMVBOGOAS10.sena.red
REPOSITORY ID: IDL:oracle/reports/server/EngineComm:1.0
OBJECT NAME: senarep2
REPOSITORY ID: IDL:oracle/reports/server/ServerClass:1.0
OBJECT NAME: senarep2
HOST: SNMVBOGOAS09.sena.red
REPOSITORY ID: IDL:oracle/reports/server/EngineComm:1.0
OBJECT NAME: senarep
REPOSITORY ID: IDL:oracle/reports/server/ServerClass:1.0
OBJECT NAME: senarep
Any Ideas? -
Hi,
Hopefully someone can help. I have the application "djay" and in two different menus there is the action "Eject". I was wondering if it's possible to apply different keyboard shortcuts to those actions with the same name? I can't see how to do it as it seems you can only write the action but as there are two it doesn't seem to work for me.
For example:
djay>Table-1>Eject - ⌘⇧1
djay>Table-2>Eject - ⌘⇧0
Thanks in advance for any help!!A NodeList doesn't only contain 1 element. In your example it contains ALL <Data> elements inside the document.
NodeList nodes = document.getElementsByTagName("Data");
System.out.println(nodes.getLength() + " \"Data\"-elements found");
for(int i=0; i<nodes.getLength(); i++) {
Node node = nodes.item(i);
} -
I have two iphone 4's with the same name on one computer. Can I change the name of one so that I can sync contacts separately?
How to rename your device in iTunes
Maybe you are looking for
-
One of my computers is running Windows XP. I installed iTunes 11 the other day, and there's no text anywhere. See the images for what I'm talking about. I can't really do much of anything because of this bug. This is the computer I use for putting
-
Iphone 3G Problems with picking up Bluetooth devices
I've been trying to pair up my Iphone 3G with a bluetooth device and it won't recognise it (or anything else for that matter) even though I've switched this capability on. Am I doing something wrong and I've not used Bluetooth before?
-
Solaris 10 and Hitachi LUN mapping with Oracle 10g RAC and ASM?
Hi all, I am working on an Oracle 10g RAC and ASM installation with Sun E6900 servers attached to a Hitachi SAN for shared storage with Sun Solaris 10 as the server OS. We are using Oracle 10g Release 2 (10.2.0.3) RAC clusterware for the clustering s
-
My adobe muse doesn't recognizes no more my subscription. I've paid but the initial message tells me that i have a trial version. someone can help me?
-
I have installed JES proxy server and created network group ,load balancing properties and other reqd.properties to manager two consumer directories. In order to test the set up i am using ldapsearch utility to search for an user.I am binding it to p