Validation of variable groups
hi any1 pls help...
how do i validate a jsp form which has example "x" textboxes with same name of choice<%=i%> and when i increase "i" i have another group of choices with another set of same names called
choice<%=i+1%>
i try using the code below but it doesnt work
var d=0;
for(var d=0;d< <%=i%>; d++){
for (var h= 0; h < document.example.choices(d+1).length; h++) {
var val2 = eval("document.example.choices[h]" +(d+1) + ".value");
if (val2 == ""){
alert("please fill in all the blanks.");
return false; }
}
Hi..
Im having doubt in jsp & its urgent need for me..help out...
Im having multiple html textbox of same name. Onclicking that textbox
i have to call one JS page that creates calendar window which returns date
to same textbox after selection.
For single textbox, the values returns corretly..for multiple it doesnt return
the value..coz of same name i think..
Code:
<script language="JavaScript" src="CmJavaScript.JS" ></script>
<td class="table-text-tab"><input type=text name=a_date onClick=javascript:showcal('testForm.this.value'); value=<%=rs0.getString(5)%> size=13>
<td class="table-text-tab"><input type=text name=f_date onClick=javascript:showcal('testForm.this.value'); value=<%=rs0.getString(7)%> size=13>
Here showcal is the functionname & testform is the form name.
here this two table data will be looped till the end of record selection.
for example if i select 2 records in previous page..this code will be executed twice & will display textbox twice with same name..
ie
a_date ------------ f_date -----------
a_date ------------ f_date -----------
if i click first a_date textbox it populates calendar thru JS which returns date.
bcoz of same textbox name..it doesnt returns the value...
i mean its confused where to return whether in 1st (r) 2nd textbox?
Similar Messages
-
Validation on 'MATERIAL GROUP' at item level as well as service sub line it
Hi friends,
my requirement is to put validation on 'MATERIAL GROUP' at item level as well as service sub line item level.
Pls help me with exit/badi.
Ganesh SheteHi Ganesh,
For main line item you can use EXIT EXIT_SAPMM06E_017 or BADI ME_PROCESS_PO_CUST.For doing validation at service sub-line item level use EXIT EXIT_SAPLMLSP_030.
Hope this helps. -
Wage Type is not valid for allowance grouping
Gurus
When i am Executing PC00_M40_TERM and entered Details then in very next screen it is with error
''Wage Type is not valid for allowance grouping ''
The Issue is showing generic and No specific Wage type shown in error.
ABAP Team also Debuged and could not get the Issue.
Kindly Let me know from your Experience what could be the Issue.Your wage type is missing in allowance grouping configuration against RAP indicator R,Reimbursement
Check table V_T7INA9 , check the wage type is configured for the allowance grouping of that employee with RAP Indicator R, Reimbursement -
Valid shared variable output does not work!
I am having a problem getting the string to shared variable to function correctly. Specifically the "Valid Shared Variable?" output. It always give a false output even when I know the variable is deployed. Could it be that it only functions correctly on shared variables from the localhost and not a remote system? If so is there another way to check?
Thanks
ToddThere is a community example on this at http://decibel.ni.com/content/docs/DOC-3861
The DLL is included in DSC, but if you have 2009 you may have to relink it. There is a boolean output for valid in this as well. Pop this in a subvi, and you have the functionality you are looking for.
Rob K
Measurements Mechanical Engineer (C-Series, USB X-Series)
National Instruments
CompactRIO Developers Guide
CompactRIO Out of the Box Video -
System session variable ':GROUP'
Dear Friends,
I am having an issue with retrieving a value for the reserved system session variable :GROUP IN OBIEE 11.1.1.5
From what I’ve read in the other posts I should be able to use :GROUP variable after where clause, and if there is more than one group assigned to a user INSTR should take care of this case. However I can’t get this to work.
I am using row-wise variable, here is the code
select 'ORGANIZATIONS' , s.ORGANIZATION_ID
from T_VZA_SECURITY s
where
INSTR(':GROUP', trim(s.group_id)) > 0
--INSTR('MyGroup', trim(s.group_id)) > 0
I also tried to replace ':GROUP' session variable with 'VALUEOF(NQ_SESSION.GROUP)'
my security table
create table T_VZA_SECURITY
(GROUP_ID VARCHAR(20),
ORGANIZATION_ID VARCHAR (20),
OWNING_DEPARTMENT_ID VARCHAR (20),
ASSIGNED_DEPARTMENT_ID VARCHAR (20)
Thank youI can't test my statement, it comes back with the error if i specify system session variable. If i replace a group variable with the string it works.
I don't see how i can set the execution order - i only have one init block with row-wise initialization enabled. Basically followed
http://www.rittmanmead.com/2012/03/obiee-11g-security-week-row-level-security/
guide, and it does work for :USER but doesn't for :GROUP.
Thank you for spending time to look at the issue! -
How to create a valid database User/Group for installing Linux 5,3
HI:
I am trying to install E-Business Suite on LINUX and gave me the following error report
Unable to validate Database User/Group :oralce /dba
Provide a valid Database User/Group for the installation.
when I was installiing on Windows, it did not gave me this error.
How do I have to crate a user/Group to install eBusiness on my Linux/
Please help
AliHi user;
hi Ali;
Yes I run as a root userKeep using root
When I use the following at the terminal
It gave me a error message
" Provide a valid Database User/Group for the installation. "
Here is what I type at the terminalIts seems normal becouse u try to create same user!
root@vis groupadd dba
root@vis useradd -g dba -d /home/oracle vis
root@vis useradd -g dba -d /home/oracle oracle Try this plz:
groupadd dba << i think this group already created!
useradd -g dba -d /home/applmgr applmgr << for apps node
useradd -g dba -d /home/oramgr oramgr << for db node
As you notice we define 2 different user under /home path!
Regards
helios -
In the Expression Operator, we have two groups, the input group and the output group. But if there is a need to have some attibutes for storing temporary calculations as well, before assigning them to the attributes of the output group, then under which group should these be made? I am asking for something like a variable group where the attibutes for storing temporary calculations will be made and these attributes can be used by the output group for sending the values to the next transformation.
Please help ..
Regards
ArnabHi,
The way I do it is, use two EXPRESSION operators in series, do any temporary calculations in the first and use them in the second operator, to assign it to output attributes with additional calculations.
Hope this helps.
Harsha -
Load more than one user groups to system session variable GROUP from table
hi, I found that the value of the system session variable GROUP can be assigned by setting a sql in initialization blocks.
however, if there are some users with more than one user group.
can this be done by table driven (using sql in initialization blocks) ?
thanks !!Referencing GROUP session variable in initialization blocks for different types of authentication
http://108obiee.blogspot.com/2009/10/referencing-group-session-variable-in.html
Users are assigned to multiple groups from external table with semicolons, see example two and three from the post.
Regards
Goran
http://108obiee.blogspot.com -
Validation of Material Group in SD Pricing Routines
Hi ,
I have created a new custom routine( Condition Value in VOFM ) for Excise duty calculation.
Now, I have requirment where in I need to check the material group and based on that materai group I need to calculate the
Excise duty in my Routine . So, where can I do the material group validation.
Is this right Forum to post or is there any specific forum to post this question ?
Please suggest me.
cheers,
Sravan.Thanks Ramesh for your response.
In conditions tab of sales order creation , the Condition values for the corresponding condition types should come after manually entering the rate in the 'Amount' column.This should happen before saving the sales order..right.
So ,Now how can I get the material group here in routines.Can you please explain me bit clear.
cheers,
Sravan. -
PHP Form Validation and Radio Group
Hi David,
I'm trying to set the initial state of a radio group to none.
Please look at the file http://ecopethandbags.com/contact.php. The initial state is set to "No"
In Dreamweaver, I've set the initial state to "Unchecked"
I don't understand the code for the radio buttons in my file (see attachment).
What I am trying to do is to have the radio group initially unchecked but required.
I have 2 questions:
1) - How can I control the initial status of the radio group when I use the PHP form validation?
2) - How can I set the validation so, when one of the radio buttons is not checked by the user, a warning flag like "Please make a choice" comes up.
Thank you much!Just change the following section of code:
<?php
if (!$_POST || isset($missing) && $_POST['subscribe'] == 'n') {
echo 'checked="checked"';
} ?>
Remove the !$_POST || like this:
<?php
if (isset($missing) && $_POST['subscribe'] == 'n') {
echo 'checked="checked"';
} ?>
The checked="checked" will be inserted into the code only if the form has been submitted, but neither radio button has been selected. -
Validation on People Group Key Flexfield
Hi all,
I have a People Group Key flexfield (KFF) defined with 7 Segments, and I want to make 1 of the Segments (SEGMENT7) Read-Only for a specific set of Responsibilities.
I have tried creating a Form Personalization for this, but I don't believe you can achieve this using forms personalizations (because you can only reference the entire flexfield as a whole, and not individual segments).
I have also tried using the Custom Library, and referencing FND_KEY_FLEX.UPDATE_DEFINITION to apply this validation, but I have not been able to get this to work either.
Finally, I have tried creating a security group and attaching it to the Value Set / KFF Segment but this doesn't quite give me what I need, as this only lets you Include/Exclude specific values and not make the segment Read-Only.
Does anyone know how to apply this validation to a People Group KFF Segment?
Thanks in advance,
JonIf nothing else works , you can write a before-update d/b trigger on the underlying table that compares :old.segment7 with :new.segment7 and raises failure if the values differ for the user's logged in responsibility.
-
Hi All:
I have created two optional/ready for input variables - one is for cost center values and the other is for nodes of the cost center hierarchy. I want to make sure that the user populates one of the two variables. For this reason, I cannot make them both required.
I was planning on checking the values in program ZXRSRU01 when I_STEP = 3 and displaying a message if the user left them both blank. The problem is, blank variables are not included in I_T_VAR_RANGE, thus they can't be checked.
I have no problem validating variables that have been filled, but can anyone suggest a way to validate those that are optional and left blank?
Thanks,
Kerryu should be able to do that.
check for one variable at a time.
if that is initial check for other.
it should wrk -
hi, this may sound like a dumb question, but i have a small program for booking hypothetical swimming lessons, the input is obtained from a bunch of textfields, i was wondering for validation purposes, how one can check the user has entered valid data to go into the variables, e.g. if they put a String in a field which is going to be put into an integer variable, what can i do to check whether it is an integer before putting it into the variable and crashing the program?
thanks
maqk"How to Use Text Fields"
http://java.sun.com/docs/books/tutorial/uiswing/components/textfield.html
Read the above link and read the link on JFormattedTextField which in turn has a link on using InputVerifiers. Determine which approach is best for you. -
User Exit for placing validation between Customer Group & Material Group
Hi,
Following is my client requirement.
1. A validation check is to be placed in Sales Order of Document Type ZTRD.
Validation to be placed between Customer Group 3 (CG3) of Sold to party with Material Group( MG ) of Material.
If CG3 of Sold to party is different with MG , then system should through Error message & should not allow to save the Sales Order.
Please suggest me what best to be done. I am a SD consultant.A standard way to do this is to use product attributes.In material master you can define product attributes in the sales org 2 view. Next, within the customer master, you can define the product attributes a customer would accept. Finally, in the order type configuration, you can define that if the attributes don't match, the system should display an error message (or a warning message). So, you can do the check you are looking for without doing any ABAP work. See if that could work for you.
-
Trouble validating a radio group
So I created a form with some text fields and a text area. I
highlighted the submit button and then went to add a behavior to
"validate form". I was able to make the text fields I wanted
required.
Later I had to go back and add a radio group. However, when i
try to add the radio group as required, I do not see it listed on
the validate form behavior. Even if I delete the existing validate
form behavior and create a new one, I do not see the radio group
listed amongst the text fields so I can't make it required.
How come my radio group is not listed? How can I make it
required on the form? Thanks.DW validation does not validate radio buttons. Try yaromats
free extension - it works well.
Maybe you are looking for
-
How to set path in linux?
Hi, I tried to compile a form in linux. I use the following command: export LD_LIBRARY_PATH=/u0/oracle/prodora/8.0.6/lib f60gen module=/u0/oracle/prodappl/ar/11.5.0/forms/US/TESTFORM.fmb USERID=apps/**** An fmx is generated. But during compile it als
-
Hi All I have a late 2008 Aluminium macbook. I was wondering about replacing the current har drive with an ssd drive. I know I should get fatser boot time etc but does anyone know what sort of extra battery life I would get by using 1. Thanks
-
hello every one, i am trying to run some run but system is showing no data for example breaddown analysis. I am using every thing standard except equipment. Kindly provide me some input on this. Regards Abhishek
-
In summary, you are never too old or out of shape King Size Male Enhancement
Structure muscle on a stock foundation King Size Male Enhancementduring our period is absolutely animated to our elongated quantity shape goals. As you get older, you will lose musculus and magnitude if you are dormant. Experience of yobbo and postur
-
SIT Issues - Undefined Functions and non-compilation
Dear All, FIrst off hi! Am new to LabVIEW, SIT and the forums. I currently have an issue with SIT 4.0 that I hope you can help me with. Background: We are trying to move a Simulink model off of a Windows environment into a cRIO-9004. This will run th