Spry validation - check for character
Hello - I want to use a spry text area to warn if the user
enters a special string, like " -- " or " : ". Do you know if this
is posiable?
Thanks!
Hi Vikas,
Try this, its working at my place.
Prerequsite:
BKPF-AWTYP = 'CAJO' AND BSEG-WRBTR > '20000.00' AND (
BSEG-HKONT = 'XXXXXX' AND BSEG-BSCHL = '50' )
Check:
NOT SYST-UNAME IN <Set name@>
@ being set created with Table-SYST and field name- UNAME
Here the set was created to allow few user to post more than 20000/-
Regards,
Kiran
Similar Messages
-
Spry validation problem for long forms
I used the Spry Validation Widgets for my form validation. It
works great, BUT the problem is that if you have a very long form
and the user doesn’t fill in one of the top required fields,
it doesn’t scroll the browser back up to the required field,
or present a message next to the submit button telling the person
that not all required fields have been filled in. Nothing appears
to happen at all, which would be confusing to users. I added my own
message underneath the Submit button which reads "If this form does
not submit, check for required entries at the top of this page.*",
but is there a way to add an extra popup message that could appear
next to the Submit button instead? (I know that we can't mix the
Validate Form behavior with the Spry Validation widgets.)Came across the same issue as well. To solve this I added in
three lines of code into the 'SpryValidationTextField.js' file that
is created via DW. Inside of that include look for the following
code:
if (!Spry.Widget.Form.validate) {
Spry.Widget.Form.validate = function(vform) {
var isValid = true;
var isElementValid = true;
var q = Spry.Widget.Form.onSubmitWidgetQueue;
var qlen = q.length;
for (var i = 0; i < qlen; i++) {
if (!q
.isDisabled() && q.form == vform) {
isElementValid = q
.validate();
isValid = isElementValid && isValid;
return isValid;
Right before you return the "isValid" parameter you want to
check and see if the value is false. If it is, have the page
refreshed to a specific html anchor. For example:
if (isValid == false) {
window.location.hash = "formtop";
return isValid;
Where "formtop" is would be the name of your html anchor tag
on the page. So right before my html form starts I have:
<a name="formtop"></a>
Hope that helps ... enjoy!
- Larry Daughenbaugh
http://www.jplprod.com -
Validation check for Tcode FB10 and FB60 - FICO.
I have an issue in validation check for Tcode 'FB60' and 'FB10'.
there are two exits coded for these transactions through transaction 'GGB0'.
details for the two exits.
exit 1.
when posting a vendor invoice, the network status is checked whether it is completed or not - if status is completed error message is raised.
exit 2.
when posting vendor invoice - for G/L Account in 60000 - 69999 series network should not be posted. if posted error message is raised.
when these two exits are entered via a prerequisites in code 'KGB' a code is generated automatically to call these exits- when transaction 'FB10' 'FB60' is executed.
Issue:
for code 'FB10' is executed with network with status completed and with G/LP account in 60000 - 69999 series -
error message is raised in sequence i.e. exit 1 is raised and then exit 2 is raised.
but for code 'FB60' if condition for exit 2 is not satisfied then exit 1 message is raised.
but it should be in sequence in raising the error message i.e. exit 1 and then exit.
Even though for both the transaction the auto generated code is similar and even exits are similar - but it is execution in raising the error message is diffrent.
- Since it is auto generated code i am able to figure out the issue.
i would appreciate if any one could help me out in this issue.
thank you,
with dregs,
Karthik.Hi,
I have tried what you have suggested. But still validation is not working
I have done the following validation based on your inputs.
Prerequisite
Company Code = '1265' AND Transaction code = 'FB60' AND
Account Type = 'K' OR
Transaction code = 'F-43' AND Account Type = 'K' OR
Transaction code = 'F-48' AND Account Type = 'K'
Check
Business Place > '' AND Business Place = Section Code
Message
E - Error Message
Still it is not working.
Please suggest.
Best Regards
Shashikanth.M -
Validation check for Cash Payments
Hi Gurus,
I need to put validation check for cash payment only - not more than Rs. 20000/- & no check for cash receipt.
Please guide me what is reqd in - PREQUISITE & CHECK.
Thanks,
VikasHi Vikas,
Try this, its working at my place.
Prerequsite:
BKPF-AWTYP = 'CAJO' AND BSEG-WRBTR > '20000.00' AND (
BSEG-HKONT = 'XXXXXX' AND BSEG-BSCHL = '50' )
Check:
NOT SYST-UNAME IN <Set name@>
@ being set created with Table-SYST and field name- UNAME
Here the set was created to allow few user to post more than 20000/-
Regards,
Kiran -
Raw Device Validation Check for Name Failed..
Hi all,
I have installed Oracle Clusterware 10.2.0.4 and Oracle database software 10.2.0.4 on Solaris SPARC 10 and i using a NAS storage for the same
And when i try to create a database using DBCA i got the following error.
Raw Device Validation Check for Name /u03/oradata/spfile/spfile{SID}.ora failed. The specified file /u01/oradata/spfile/spfile{SID}.ora doesnot exit.Please a existing file.
Note: i am not using ASM., i am using RAW device for Database
Any help highly thankful
-ArunHi
this is how i have mounted the NAS...
10.0.0.0:/vol/prodt3_vol16/ora_dbfr_inn1s - /u07/DBFR/INS nfs - yes rw,bg,hard,nointr,rsize=32768,wsize=32768,proto=tcp,noac,forcedirectio,vers=3,suid
how do i ensure that it is not being used....we should not use ASM its an client requinment ...
Thanks -
Validation Check for business place and section code.
Hi Gurus
Please provide me the prequisite check for creating a validation check for business place and section code.
Regards,
Vikas MalhotraHii..
Goto T.Code Ob28 write the following validation.
Prerequisite
BKPF-BUKRS = 'XXXX' AND BSEG-KOART = 'K' AND
BSEG-QSSKZ = 'XX' AND BSEG-BSCHL <> '35' AND
BSEG-BSCHL <> '25'
Check
BSEG-BUPLA = 'XXXX' AND BSEG-SECCO = 'XXXX'
Message
Message number ZFI 002
Regards,
Aakash -
I am not sure about how to use regular expression for a validation check for an Item
I might need to check for an item for the below format -
1 , XXX-XXXXX-## ( "3 alphanumeric" , "middle score" , "5 alphanumeric" , "2 digit year" )
2, XX##-### ("2 alphabets ", "2 digit number", " middle score ",3 digit numberLucy,
Create an item level validation of type regular expression, and use the following for the respective Regular Expression values:
1) ^[[:alnum:]]{3}-[[:alnum:]]{5}-[[:digit:]]{2}$
2) ^[[:alpha:]]{2}[[:digit:]]{2}-[[:digit:]]{3}$I'm only very new to regular expressions, so I welcome being corrected if there's a more efficient way of declaring this. But this works.
Anthony. -
Validation check for BP external id type and id number
Hi,
I need to validate the external Id type and Id no. ( from table BUT0ID) based on some conditions from the WebUI while adding a new id type and also during deletion of that id.
I have found out 2 Badi's BUPA_IDENT_UPDATE, BUPA_IDENT_CHECK
Will these BADI triggered from the WebUI ?
What would be the other way to implement these checks for the Business Partner?
Provide some possible solutions.
Thanks for all your help.
Regards,
ShobhitIssue resolved by coding at UI level
-
Error in MDDataSetBW.GetCellData.Please enter a valid value for character
Hi All,
We have a mandotory prompt on 0FISCPER for Web I Report . The promt is present in the universe.
The query works fine in Dev , but in Quality it shows the following error
A database error occured. The database error text is: Error in MDDataSetBW.GetCellData. Please enter a valid value for characteristic 0FISCPER.. (WIS 10901)
The universe is on BW Query and the BW Query works fine.
Can someone please help on thisThanks Sathish for your input.
We have created report level prompts and facing this issue because we were selecting multiple values for prompts.
Its working fine for single selection. Is there any way to enable multi selection for the particular object at the BW end ?
Or else we have to create the prompts (Single selection) at the universe level.
Regards,
Pranay -
Query Designer: Error-msg: Please enter a valid value for charact 1FORMULA
Hello BI friends,
when I open a query in the Query Designer (or change query from BEx Analyzer) I get this message. There is no detail description for the message. After pressing the OK-button in the message I get an u201Demptyu201D Query Designer (to create a new or open a query).
The query contains some formulas, I know. I have checked the query by starting it via RSRT and debugging. There is only a warning (exception contains a non-numeric value).
But how can I check the formulas, exceptions or something else if the Query Designer doesnu2019t show the query definition?
Thanks in advance!Hello Karen,
thanks for your answer.
Unfortunately I didn't mention yet that we have BI 7.0, but I'm using a 3.x query and 3.x QD. The query has not been transfered to 7.0 level (I hope it, since other colleagues work in the system too). How can I check the level (3.x / 7.0) of the query?
I have checked the table RSZRANGE, but I didn't find any row for the char. 1FORMULA, I have checked the fields IOBJNM, FACIOBJNM and ATTRINM. I also didn't find a row for RSRREPDIR-COMPUID = RSZRANGE-ELTUID. Did I search in a wrong way?
I have also checked the program COMPONENT_RESTORE, but I didn't start it for the IProv, comp type = REP and the special query, because I'm not sure what I'm doing there exactly (the program has no documentation).
Is it still the same way as you have described under these conditions?
Best wishes
Britta -
XSD Validation, checking for required elements
I'm using the FTP Adapter to retrieve a flat file in a format like this -
H|1|1234|5-APR-2007
L|1|33123|2
L|1|12345|1
L|1|6969|5
S|1|Milton Park, Abingdon, OX142NF
I have generated an XSD file using the built in wizard that looks like this -
<?xml version="1.0" encoding="UTF-8" ?>
<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:nxsd="http://xmlns.oracle.com/pcbpel/nxsd"
targetNamespace="http://bpelns.corp.rmd.org/complex"
xmlns:tns="http://bpelns.corp.rmd.org/complex"
elementFormDefault="qualified"
attributeFormDefault="unqualified" nxsd:encoding="ASCII" nxsd:stream="chars" nxsd:version="NXSD">
<xsd:element name="order">
<xsd:complexType>
<xsd:choice minOccurs="1" maxOccurs="unbounded" nxsd:choiceCondition="terminated" nxsd:terminatedBy="|">
<xsd:element name="HEADER" minOccurs="1" maxOccurs="1" nillable="false" nxsd:conditionValue="H">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="ORDERID" nillable="false" minOccurs="1" maxOccurs="1" type="xsd:int" nxsd:style="terminated" nxsd:terminatedBy="|" nxsd:quotedBy=""">
</xsd:element>
<xsd:element name="CUSTOMERID" type="xsd:int" nxsd:style="terminated" nxsd:terminatedBy="|" nxsd:quotedBy=""">
</xsd:element>
<xsd:element name="ORDERDATE" type="xsd:string" nxsd:style="terminated" nxsd:terminatedBy="${eol}" nxsd:quotedBy=""">
</xsd:element>
</xsd:sequence>
</xsd:complexType>
</xsd:element>
<xsd:element name="LINEITEM" minOccurs="1" maxOccurs="unbounded" nxsd:conditionValue="L">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="ORDERID" type="xsd:int" nxsd:style="terminated" nxsd:terminatedBy="|" nxsd:quotedBy=""">
</xsd:element>
<xsd:element name="PRODUCTCODE" type="xsd:int" nxsd:style="terminated" nxsd:terminatedBy="|" nxsd:quotedBy=""">
</xsd:element>
<xsd:element name="QUANTITY" type="xsd:int" nxsd:style="terminated" nxsd:terminatedBy="${eol}" nxsd:quotedBy=""">
</xsd:element>
</xsd:sequence>
</xsd:complexType>
</xsd:element>
<xsd:element name="SHIPPING" minOccurs="1" maxOccurs="1" nxsd:conditionValue="S">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="ORDERID" type="xsd:int" nxsd:style="terminated" nxsd:terminatedBy="|" nxsd:quotedBy=""">
</xsd:element>
<xsd:element name="ADDRESS" type="xsd:string" nxsd:style="terminated" nxsd:terminatedBy="${eol}" nxsd:quotedBy=""">
</xsd:element>
</xsd:sequence>
</xsd:complexType>
</xsd:element>
</xsd:choice>
</xsd:complexType>
</xsd:element>
</xsd:schema>
I added the various minOccurs & maxOccurs attributes. I would like to be able to state that the element HEADER is required. However, despite the min & max values it carries straight through to the next point in the BPEL flow. I cannot use the required attribute type, as JDeveloper does not recognise this.
How can I acheive the validation I require ? Is the XSD the right place to be doing it (I thought so, as it is the schema definition) ? If I cannot do this with the XSD how else might I acheive it in a concise way, ie not using a big switch operation to test various elements.I have just noticed that the XSD is creating the following XML document, which explains the validation failure. After the header it is treating everything else as a line item.
<?xml version="1.0" encoding="UTF-8" ?>
<order xmlns="http://bpelns.corp.rmd.org/complex">
<HEADER>
<ORDERID>1</ORDERID>
<CUSTOMERID>1234</CUSTOMERID>
<ORDERDATE>5-APR-2007</ORDERDATE>
</HEADER>
<LINEITEM>
<ORDERID>1</ORDERID>
<PRODUCTCODE>33123</PRODUCTCODE>
<QUANTITY>2</QUANTITY>
</LINEITEM>
<LINEITEM>
<ORDERID>L</ORDERID>
<PRODUCTCODE>1</PRODUCTCODE>
<QUANTITY>12345|1</QUANTITY>
</LINEITEM>
<LINEITEM>
<ORDERID>L</ORDERID>
<PRODUCTCODE>1</PRODUCTCODE>
<QUANTITY>6969|5</QUANTITY>
</LINEITEM>
<LINEITEM>
<ORDERID>S</ORDERID>
<PRODUCTCODE>1</PRODUCTCODE>
<QUANTITY>65 Milton Park, Abingdon, OX142NF</QUANTITY>
</LINEITEM>
</order> -
Spry Validation Checkbox with an ASP button
Is there any way to get the Spry Validation Check box
JavaScript to fire when a asp button is clicked. I noticed that is
was originally written for an HTML submit type. If my question
seems juvenile I apologize but my brain is racked with other issues
concerning the web page I am developing. Thanks in advanceDo yourself a big favor and don't waste time with Spry Validation. Most modern browsers support HTML5 forms with the required attribute.
If you must placate older browsers, use jQuery validate script. It's lightweight and works when HTML5 support is missing. You can see an example below. If you hit submit with empty form fields, the required fields pop-up with messages. View source in browser to see the code.
HTML5 Form with jQuery Validation
Nancy O. -
Spry Validation - Advanced Customization
Hi,
I am creating a form and using the spry validation widgets for Dreamweaver Cs3. By defualt when a form is in the valid state, the input field turns green.
What I would like to find out is, is it possible to use an image/background image e.g. small "tick" icon to display at the side of the input for validation rather than the input itself? I know the invalid states have span classes that control the error messages, but I am not sure which class style I can target to use an image for my valid state rather the the default green input field.
Any help would be much appreciated.
I found a link to an adobe lab demo which does exactly what I want but unfortunetely does not show how to do it and what version of dreamweaver it is using.
http://labs.adobe.com/technologies/spry/demos/formsvalidation/index.htmlIf you look at the source for this page you will see the following lines -
<div id="theRating">
More code here
Then:-
<img src="images/ok.gif" title="valid" etc....
Copy this line into the required position on your page (don't forget to create the image ok.gif).
HTH -
While configuing database using DBCA it shows
"Raw device validation check for Control file "/var/opt/oracle/oradata/orcl/control01.ctl"
failed, stat for /var/opt/oracle/oradata/orcl/control01.ctl failed.Do you really want to create a database on raw devives or did you accidently select the 'raw device' button? "/var/opt/oracle/oradata/orcl/control01.ctl" doesn't look like a raw device, it could be at most a link. Generally raw devices can be checked with 'dd if=<shared config file> of=/dev/null bs=<db_block_size>' .
Werner -
Validation Profiles for ASN Creation
Hi,
I am working on integrating a non SAP ERP backend system with SNC 5.1. I want to avoid sending Purchase Order data to SNC from the backend system and this will require me to turn off the ASN validation check for reference documents. Does anyone know what checks I will need to flag as inactive? I have tried several options, but I am not seeing a change when trying to create the ASN without the PO reference. I am also seeing an error "Validation profile not found" even though it has been defined. Maybe I'm not doing this correctly. Any help would be great, especially a step by step instruction.Hi,
please check the [LINK|http://help.sap.com/search/highlightContent.jsp]
Regards,
Srinu
Maybe you are looking for
-
What's the maximum internal space for Mid 2010 MacBook Pro
Ok guys I'm about to upgrade my internal drive on my MacBook Pro and would like to know what is the maximum space to put in. I'm also gong to replace optibay a 128GB SSD. Is any 1TB 2.5" good?
-
Can I download all my contacts into numbers?
I want to create a contact list from my ipad contacts list. Can I move them as a group into numbers [or similar] rather than copying them over one by one.
-
Message (ABAP Statement)
Hi, I gave the following code in ECC 6 BOR ABAP editor and it works perfect. IF text[] IS INITIAL. MESSAGE 'Can not exit without entering text.' TYPE 'S'. ENDIF. But when I use the same in 4.6c BOR ABAP Editor(as I have the same requirement), it give
-
Roles tab not working in USER MANAGEMENT OF EP6 SP9
Hi I have successfully installed WAS 6.4 SP9 with EP6 SP9, TREX, KMC. When I click on USERAdministration -> ROLES, Im getting an error in a Dialog box "Internet Explorer cannot open the Internet Site http://<hostname>:<port>/irj/portal". Operation
-
Do I need a carrier of some sort to insert an sd card into my MacBook Pro?