Help Pls -- Simple Validation Script not working

-- yet another form I am working on --
I have a numeric field and the entry number can't be no larger than 7 -- I have tried different variations of the script, and I don't know why it isn't working. I know it's something simple..just can't see it!
Please help!
----- topmostSubform.Page1.NumericField12[0]::exit: - (JavaScript, client) -------------------------
if topmostSubform.Page1.NumericField12[0].rawValue >= 8
xfa.host.messageBox("Invalid Number Must be 7 or smaller");

Thanks..you helped me before.....thanks a million...
I got it to work with the validation feature also...
I'm gonna take this opportunity to solve another problem -- a real one this time..
Fields A and B - read only numeric fields (calculated)
new field C - requires Field A divided by Field B and then check to see if correct radio button is checked and if not then put an asterick beside number in Field C! Hope this makes sense...
Field C - a/b I get an arithmetic overflow/underflow message...
Please help again!

Similar Messages

  • Simple button script not working

    I am using AS2 and need help figuring out why this simple button script is not working:
    stop();
    buttonWS1.onRelease = function(){
                        gotoAndStop("Stage1and2_Boss",4);
    buttonWS2.onRelease = function(){
                        nextFrame();
    //end
    My buttons are the square letter-puzzles below. They are images that I converted to "symbols" (specifically, buttons). I put their names as above (buttonWS1, buttonWS2, etc.) in the "instance names" boxes.
    I have no idea what is going on. Please help!

    Hi -
    1. Yes, buttonWS2 is the instance name
    2. The only code attached to it is the code I pasted above.
    3. onRelease does not execute because my trace statement does not appear in the output
    Here is the modified code for buttonWS2:
    buttonWS2.onRelease = function(){
                        trace("clicked!");
                        nextFrame();
    Question: It shouldn't matter if I have commented-out code within that set of codes should it?:
    buttonWS2.onRelease = function(){
              //if (puzzleschosenarray[0] == 2 || puzzleschosenarray[1] == 2) {
              // cannot be chosen -- make button non-functional
              //else{
                        //puzzleschosenarray[roundnumber-1] = 2;
                        trace("clicked!");
                        nextFrame();

  • Simple button scripts not working in AS2

    Hi there,
    I am at my wits end. I've tried about 2 dozen tutorials word for word and they don't work and I just keep getting lots of strange errors.
    I have a very simple 4 frame scent with a forward and backward arrow on each frame to link them together. I have an artwork layer, a button layer and an action script layer. The action script layer contains stop(); and the following script in the buttons layer. I adjusted the gotoAndStop frame number accordingly for each frame. Below is an example of one frame. I ran them from frame 5 to 9 as the stop feature wouldn't work on the first keyframe.
    leftButton.onRelease=function(){
    trace("gotoAndStop(9)");
    rightButton.onRelease=function(){
    trace("gotoAndStop(6)");
    When I test the movie (publish it) the buttons don't work at all. I've tried many times to no avail. It just remains frozen on frame 5 and the arrows do nothing.
    Here is a screen shot of my file.
    http://marthalodge.com/Picture2.png
    Thanks for any help.

    Regarding the numbers, I was referring to instance/variable names, not frame labels.
    As far as errors go, the following is errant in that it is missing a closing parenthesis, but it also doesn't make much sense.  What are you expecting it to trace?
    trace(gotoAndStop("eight");

  • Help Pls! JavaMail setDataHandler not working without exception

    am having trouble sending attachments - although there is no exception thrown. If I don't attach the file sending email works fine. I am using rational development to develop a portlet application.
    Any Ideas?
    Below is the code:
    Properties l_props = System.getProperties();
    l_props.put("mail.smtp.host", "*********");
    // Get the default Session using Properties Object
    Session l_session = Session.getDefaultInstance(l_props, null);
    MimeMessage l_msg = new MimeMessage(l_session); // Create a New message
    l_msg.setFrom(new InternetAddress(from)); // Set the From address
    // Setting the "To recipients" addresses
    l_msg.setRecipients(Message.RecipientType.TO, InternetAddress.parse(to, false));
    l_msg.setSubject(subject); // Sets the Subject
    MimeMultipart multipart = new MimeMultipart();
    // Create and fill the first message part
    MimeBodyPart bodyPart= new MimeBodyPart();
    bodyPart.setContent(body,"text/plain; charset=utf-8");
    multipart.addBodyPart(bodyPart);
    if ((fileName!=null) && (new File("C:/"+fileName).exists())){
    //MimeBodyPart attachment = new MimeBodyPart();
    BodyPart attachment = new MimeBodyPart();
    FileDataSource fds = new FileDataSource("C:/"+fileName);
    attachment.setDataHandler(new DataHandler(fds));
    attachment.setDisposition(MimeMessage.ATTACHMENT);
    attachment.setFileName(fds.getName());
    multipart.addBodyPart(attachment);
    // Add the Multipart to the message
    l_msg.setContent(multipart);
    // Set the Date: header
    l_msg.setSentDate(new Date());
    // Send the message
    Transport.send(l_msg);

    Hi,
    You can also check if  the address and logon data of the Integration Builder is correctly maintained in the
    Exchange Profile (http://<IntegrationServer>:<port>/exchangeProfile/index.html
    also check if Tcode SLDCHECK works fine.If its a new installation please check if all the post installation steps
    are performed correctly.
    Regards,
    Srinivas

  • Simple short cuts not working in CC?

    Does anyone know why simple commands are not working in Illustrator CC (Copy, Paste, Undo) This is such an irritating problem as these short cuts are so frequently used. My cloud software is up-to-date. Having upgraded my software I would prefer not to have us CS5 to combat this problem.

    Hi Vaibhav,,
    Thankx for the prompt help!!
    I'm using Submit to SAP button only and I do have xACF installed on my local m/c. I'm able to use buttons and validations on the form but I'm not able to get the values in my WDynpro ABAP Appl. For Eg. : and internal table is bound to a table UI in adobe iForm , I'm able to add row (using formcalc/JScript eventing in Adobe) but I'm not able to get the changed internal table in my WDynpro ABAP application after submit button is pressed.
    Any help will be highly appreciated.
    Regds,
    Aryan

  • HELP! MY TRACKPAD IS NOT WORKING

    GUYS. PLS HELP. MY TRACKPAD IS NOT WORKING IM USING BB CURVE 9300. IM FROM THE PHILIPPINES. BUT MY MOM BOUGHT AT SAUDI ARABIA. TODAY, IM PLANNING TO GO IN A SERVICE CENTER IN ORTIGAS. AS PER CONVERSATION TO THE CELLPHONE TECHNICIAN. IT WILL COST 800. IS IT TOO EXPENSIVE? HELP! IS THERE ANY OTHER WAY AROUND???

    Use the tab key to navigate around the Bluetooth Assistance screen and the spacebar to enter/select.
    If the tab key doesn't move to all controls then press Control FN F7   one times and try the tab key again.
    Regards,
    Captfred

  • PCI Simple Communications Controller not working

    PCI Simple Communications Controller not working on hp pavilliong6-1003tx

    Hi
    Download, save & install --
    Windows 7:
    http://h10025.www1.hp.com/ewfrf/wc/softwareDownloadIndex?softwareitem=ob-94322-2&cc=in&dlc=en&lc=en&...
    Restart system after installation.
    Regards
    Visruth
    ++Please click KUDOS / White thumb to say thanks
    ++Please click ACCEPT AS SOLUTION to help others, find this solution faster
    **I'm a Volunteer, I do not work for HP**

  • I downloaded Windows 10 and my Simple Pass is not working.

    I downloaded Windows 10 and now my Simple Pass is not working. I get a message that HP Connected Remote isn't responding and to be sure the service is running. I went under programs and repaired it but I still get the same message. Thanks in advance for your help. Please don't make it too complicated. 

    DUPLICATE POST
    Please see: https://discussions.apple.com/thread/5513386?tstart=0

  • Publishing HTML(Page content) field required field validation is not working

    The required field validation is not working on Site Column of type "Full HTML content with formatting and constraints for publishing". I found a link i.e.
    https://social.msdn.microsoft.com/Forums/office/en-US/7b544aae-2562-4b8e-8e5b-36a1d47a4d14/publishing-htmlpage-content-field-required-field-validation-is-not-working?forum=sharepointdevelopment
    which tells this is a hot fix in July 2014 CU . Can anyone help me with what all Fixes are there in July 2014 CU. So that I can update only if it required!
    Or any other alternative where I can use the required field validator on "Full HTML content with formatting and constraints for publishing" column type?

    You could add a scripteditor webpart on the newform.aspx page and add client side validation using jQuery.
    $(document).ready(function()
     var fname = document.getElementById('fname').val();
     var lname = document.getElementById('lname').val();
     var age = document.getElementById('age').val();
     /*Do not know how to get element by class and that too, two different type. Have to check if user chose anything or not*/
      $("#submit").click(function()
       if(fname.length === 0)
        alert("Please input a first name");
       else if(lname.length === 0)
        alert("Please input a last name");
       else if(age.length === 0)
        alert("Please input an age");

  • Search help for cost center does not work after SP upgrade

    Hi,
    Create a shopping cart in SRM and go to the cost assignment tab. When click on the search help to enter a costcenter, we don't get any search help screen.
    Thanks

    Kindly check note: 1259735 Search help of generic account does not work
    Additionally Check the 5th question/answer of note 815849.

  • Why Strict validation is not working

    Hi,
    Why the Strict validation is not working in the XMLDB. I validated successfully the same file from XML Spy. The error in Oracle is:
    begin
    for x in (select warehouse_spec from xml_validate where warehouse_id=51) loop
    x.warehouse_spec.schemaValidate();
    end loop;
    end;
    ORA-31154: invalid XML document
    ORA-19202: Error occurred in XML processing
    LSX-00011: internal error: LsxvPushCandidate array overflow
    ORA-06512: at "SYS.XMLTYPE", line 345
    ORA-06512: at line 3
    Thanks in advance
    Rizly

    The error is LSX-00011: internal error: LsxvPushCandidate array overflow
    This might be helpfull
    Error in STRICT Validation
    Regards,
    Remy

  • HT1766 please help my ipad min is not working on the scren it says iPad disabled connect to itunes

    please help my ipad min is not working on the scren it says iPad disabled connect to itunes

    How can I unlock my iPad if I forgot the passcode?
    http://www.everymac.com/systems/apple/ipad/ipad-troubleshooting-repair-faq/ipad- how-to-unlock-open-forgot-code-passcode-password-login.html
    iOS: Device disabled after entering wrong passcode
    http://support.apple.com/kb/ht1212
    How can I unlock my iPad if I forgot the passcode?
    http://tinyurl.com/7ndy8tb
    How to Reset a Forgotten Password for an iOS Device
    http://www.wikihow.com/Reset-a-Forgotten-Password-for-an-iOS-Device
    Using iPhone/iPad Recovery Mode
    http://ipod.about.com/od/iphonetroubleshooting/a/Iphone-Recovery-Mode.htm
    You may have to do this several times.
    Saw this solution on another post about an iPad in a school environment. Might work on your iPad so you won't lose everything.
    ~~~~~~~~~~~~~
    ‘iPad is disabled’ fix without resetting using iTunes
    Today I met my match with an iPad that had a passcode entered too many times, resulting in it displaying the message ‘iPad is disabled – Connect to iTunes’. This was a student iPad and since they use Notability for most of their work there was a chance that her files were not all backed up to the cloud. I really wanted to just re-activate the iPad instead of totally resetting it back to our default image.
    I reached out to my PLN on Twitter and had some help from a few people through retweets and a couple of clarification tweets. I love that so many are willing to help out so quickly. Through this I also learned that I look like Lt. Riker from Star Trek (thanks @FillineMachine).
    Through some trial and error (and a little sheer luck), I was able to reactivate the iPad without loosing any data. Note, this will only work on the computer it last synced with. Here’s how:
    1. Configurator is useless in reactivating a locked iPad. You will only be able to completely reformat the iPad using Configurator. If that’s ok with you, go for it – otherwise don’t waste your time trying to figure it out.
    2. Open iTunes with the iPad disconnected.
    3. Connect the iPad to the computer and wait for it to show up in the devices section in iTunes.
    4. Click on the iPad name when it appears and you will be given the option to restore a backup or setup as a new iPad (since it is locked).
    5. Click ‘Setup as new iPad’ and then click restore.
    6. The iPad will start backing up before it does the full restore and sync. CANCEL THE BACKUP IMMEDIATELY. You do this by clicking the small x in the status window in iTunes.
    7. When the backup cancels, it immediately starts syncing – cancel this as well using the same small x in the iTunes status window.
    8. The first stage in the restore process unlocks the iPad, you are basically just canceling out the restore process as soon as it reactivates the iPad.
    If done correctly, you will experience no data loss and the result will be a reactivated iPad. I have now tried this with about 5 iPads that were locked identically by students and each time it worked like a charm.
    ~~~~~~~~~~~~~
    Try it and good luck. You have nothing more to lose if it doesn't work for you.
     Cheers, Tom

  • Java script not working..help plzzzz

    i am trying to do the following but not getting the result..help me plzzz
    admin.jsp
    <html>
    <script language="JavaScript">
    function compare()
    var name1;
    var pwd1;
    var repwd1;
    name1=name.value;
    out.println(name1);
    </script>
    <body>
    <%@ page language="java" import="java.sql.*,java.text.SimpleDateFormat,java.util.*" %>
    <%
    String staff=request.getParameter("staff");
    if ("add".equals(staff))
    %>
    <p>Name<input type ="text" name="name" size="10"></p>
    <p>Password<input type ="text" name="pwd" size="10"></p>
    <p>Re-enter password<input type ="text" name="repwd" size="10"></p>
    <p>Accesslevel<input type ="text" name="Name" size="10">
    <input type="submit" name="b1" value=" Go " onClick="compare()">
    <%}%>
    </body>
    </html>
    i cannot pass the text value to the javascript function...why?..help me plzzzz.

    This is not a javascript forum, but you may want to look up something called document.getElementById().

  • My ipod touch is not working at all pls HELP, my ipod touch is not working at all pls HELP

    My iPod touch is not working at all,i did everything i could and still it doesnt work,i live in the philippines my idea of solving this problem is to send it back at Apple California we do have service centre here but i dont trust them,i dont know what to do,I REALLY NEED YOUR HELP

    Quite possibly.  It wouldn't hurt to try another one if at all possible. If you have to, borrow one from a friend.  It could also be due to debris in the docking port of your iPod.  Take a look on the inside of the port and make sure there is no lint or anything like that.  Also look for broken pins as they would definitely cause connection issues as well.
    B-rock

  • [js] CS Scripting not working with CS3

    Hello,
    We had a JavaScript made for us that enabled the user to exchange certain text within a document.
    This script works fine with CS (Ver.3.0.1) but gives a JavaScript Error - #55, Error String: Object does not support the property or method 'findPreferences' with CS3 (Ver.5.0)
    I have tried 'tinkering' around with the scripting - but I have zero experience with JavaScript and have not found a solution.
    Additionally the people that wrote the initial script are not available.
    I have bought several books but they all seem like alien-language to me
    Below is the section of origional CS scripting.
    Can anyone point out to me WHY this script does not work with CS3?
    And WHERE I should start looking - changing?
    Thanks in advance for your help and guidence.
    Lee
    // Exchange the text
    function actProjectData(oneDoc, oneResult){
    app.findPreferences = null; app.changePreferences = null;
    oneDoc.search(undefined, true, true, oneResult[0],{appliedCharacterStyle:oneDoc.characterStyles.item(myProjectTitleCharStyleNa me)}, undefined);
    oneDoc.search(undefined, true, true, oneResult[1],{appliedCharacterStyle:oneDoc.characterStyles.item(myOfferNoCharStyleName)}, undefined);
    oneDoc.search(undefined, true, true, oneResult[2],{appliedCharacterStyle:oneDoc.characterStyles.item(myOfferDateCharStyleName) }, undefined);
    app.findPreferences = null; app.changePreferences = null;

    > Come to think of it, maybe it's easier to create a folder "Version 4.0 Scripts" under your scripts folder and place your CS script in there. Maybe that will do the trick. Should have thought of that earlier.
    Tried this, but it didn't seem to do anything... But certainly a 'try' worth.
    Currently playing around with the:
    > app.findTextPreferences.findWhat = "a";
    app.changeTextPreferences.changeTo = "b";
    oneDoc.changeText();
    I've got to the point where I have no error messages :-) Now I'm really flying.....
    Fact is - not all text and also the wrong text is replaced!!!
    I'm currently playing with the script to try and replace
    all texts with a given paragraph style with the entered text...
    Not proving to be simple for me, but I'm learning rather a lot!
    Now that doesn't sound very clear when I go back and read it!
    What I want to say is:
    Each page of the document has the project name, No & Date on it (each having their own paragraph style)
    so
    With this script it asks you the Project name, No. and Date and then goes
    through the whole document and replaces all instants of those texts with specific paragraph styles with the newly 'entered' text.
    Proving to be a little mountain for me - Thought it would only be a hill!

Maybe you are looking for

  • WCS Map Editor Shows Big Black Box

    Anyone seen this?  I'm in WCS and I select my map, and then choose the map editor icon.  When the editor loads, my map looks like this:

  • Can the Add To Cart image render the hand cursor to look more like a clickable link?

    I have used a custom image for the add to cart tag - {tag_addtocart,<img src="/images/fg_buttonbuy.jpg" width="203" height="76" />} - however our client is worried people will be unsure if that's where they click to add the product to the cart as the

  • Repetitive manufacturing

    I have a  knowledge question regarding collective entry of confirmations using  repetitive manufacturing u2013 transaction MF42N. Is there an option to get data from planning table (MF50) pre-selected  to simplify final backflushing such as: Preselec

  • TS error applying commands pwercfg and control

    Hi I have SCCM 2012 R2 wit MDT2013 integration I made TS where I apply Win7 and Win81. I putted some customization after Install application settings. I need to change power scheme and some user locale configs. Each command is in separate step and St

  • FM for Maintaining Burden Rate for Activity Types

    Dear All,      I was looking for the Function Module for Changing the burden rates in Activity Types. Please if there is any FM, Please reply to this thread Thanks Shashikanth Naram