Check the check-box using script

Hi
I have a requirement where from script i need to check the  check box.
Based on if a condition is true , when i execute the script , the check box field needs to be auto-checked .
Appreciate the help

Hi,
Access the field and set it to true. If it is a standard field it should have its getter and setter, you should use that. In case of an extension field do this :
doc.getExtensionField("FIELD_NAME").set(true);
Thanks
Devesh

Similar Messages

  • I checked the wrong box on for a website I use frequently and now recieve the message "Access to xpcom is denied. Set "signed.applets.codebase_principal_support=true" in about:config"; how can I change this?

    I am tech challenged. I know this is probably a setting that just needs to be changed but I have idea on how or where to go to change it. It appears to be a security setting - I checked the wrong box on a firefox popup regarding access. The site is grammarly.com and when I attempt to paste my copy to be grammar checked it won't allow me to do so, and I get the above quoted message. Please help!

    You can check the file prefs.js in the profile folder to see if you find any lines referring to that website and remove those capability.principal.codebase lines.
    *http://kb.mozillazine.org/prefs.js_file
    *http://kb.mozillazine.org/Profile_folder_-_Firefox
    Help > Troubleshooting Information > Profile Directory: Open Containing Folder

  • Yahoo mail remebers my password but not the user name. I've checked the remember box.

    I've checked the remember box but Firefox is remembering the password but is not remembering the user name when I sign in to my email account. I'm not having sign in trouble with IE nor am I having trouble signing in on my laptop with either Firefox or IE, so the problem would seem to be with this computer.

    * Websites remembering you and automatically log you in is stored in a cookie.
    * Create an allow cookie exception (Tools > Options > Privacy > Cookies: Exceptions) to keep such a cookie, especially for secure websites and if cookies expire when Firefox is closed.
    * In [[Private Browsing]] mode all cookies are session cookies that expire if that session is ended, so websites won't remember you.
    * You enter Private Browsing mode if you select: Tools > Options > Privacy > History: Firefox will: "Never Remember History"
    * To see all History and Cookie settings, choose: Tools > Options > Privacy, choose the setting <b>Firefox will: Use custom settings for history</b>
    * Uncheck: [ ] "Automatically start Firefox in a private browsing session"
    * Do not use [[Clear Recent History]] to clear the "Cookies" and the "Site Preferences"
    Clearing "Site Preferences" clears all cookies, images, pop-up windows, software installation, and password exceptions.

  • Why do I always to check the Preview box when applying an illustrator effect?

    It's annoying. I reckon, one does want to preview the effect more often than not. It could also be a box that remember it's setting.

    Oh god yes I wish that box would at least remember its setting. They're all over Illustrator and they're always off when you open the dialogue. It made sense when they were originally written, back when the average machine had a speed measured in Mhz, but not any more.
    Live effects, blends, global color swatches, it all needs to remember if I checked the 'preview' box last time I used it. I'm sick of turning that on all the time.

  • How to select a row in datagrid by checking the check box in that row

    how to select a row in datagrid by checking the check box in that row.
    Im using <html:checkbox> tag, and also a VO which is in request scope. i wanna display the values in the VO in a row and corresponding to this i want a checkbox..
    Thanx in advance
    Message was edited by: me
    Hemanth@SA
    Message was edited by:
    Hemanth@SA

    Hello,
    I got the solution:
    final int pRow = row;
    final int pCol = column;
    final JTable myTable = mytable;
    SwingUtilities.invokeLater(new Runnable() {
    public void run() {
    myTable.requestFocusInWindow();
    myTable.changeSelection(pRow, pCol, true, true);

  • The "when I open a new link in a new tab, switch to it immediately" check box is not checked but it acts as if I check the check box

    The "when I open a new link in a new tab, switch to it immediately" check box is not checked but it acts as if I have checked the check box.
    == This happened ==
    Every time Firefox opened
    == after I install the Persona themes

    I was having the same problem and was looking for solutions when I came across this posting. Disabling GoodSearch solved the problem for me. Hopefully GoodSearch will update soon and resolve the issue permanently so I can use it again.

  • It's not possible to check the photography box to see it on my PC. How can I see photos on PC?

    It's not possible to check the photography box to see it on my PC. How can I see photos on PC?

    Ah, you had Photoshop 7.0 working, and now it's not.  I see that as a separate issue to updating it.  I'm not sure why it would ask you to update it.
    Do you know whether you have 7.0 or 7.0.1 at this point?  You might be able to do a Properties function on Photoshp.exe and see that info.
    You could make an attempt to reset Photoshop's preferences to defaults.  Press and hold Control - Shift - Alt simultaneously immediately upon cold-starting Photoshop. If you get the keys down quickly enough - and you have to be really quick - it will prompt you to confirm deletion of your current preferences, which will lead to the establishment of a fresh default set.  If it does not prompt you, you haven't been quick enough to get the keys down.
    Only other thing that comes to mind is to use Windows System Restore to restore back to a restore point where Photoshop was working, or restore from a backup (you do make backups I hope).
    If that fails, and you need to do a fresh install but no longer have the original disk and serial number I'm afraid you may be out of luck.  There's no place I know of from which to download a fresh full copy of Photoshop 7.0.
    -Noel

  • With 'Mail v8' and 'Yosemite' accounts settings are not saved and I keep having to check the "SSL" box

    With 'Mail v8' and 'Yosemite' 'mail' "account settings" are not saved and I keep having to check the "SSL" box. This has only occurred since upgrade to Yosemite?
    Any help would be appreciated as this is so frustrating!!

    Update to 3.6.16 has fixed this problem.

  • HT4906 why can't I check the iphoto box on my iCloud settings?

    why can't I check the iphoto box on my iCloud settings?

    Because something is wrong
    can't help since you tell us nothing at all
    instructions are here - http://www.apple.com/icloud/setup/
    LN

  • What are the effects of checking the checkmark box in a list?

    In an iTunes (Mac) list of Music, what are the effects of checking the checkmark box in a list?

    If the box is left unchecked then the music will not sync or play when part of a playlist

  • How to check the user is using mobile to browse my website??

    Dear all,
    i am new in Java.Pls help!!i want to check the user is use what tools to browse my website...i mean if the user is using mobile to vist my website(eg:http://www.abc.com), it will rediect the mobile user to a webpage only for mobile user,otherwise,it will redirect to normal page for normal user(use browser such as ie,netscape)...
    how to do it? which function did i use?please give me some tips!!!
    Java baby , Frankie

    Check the User-Agent header of your request. Most phones will identify themselves through it.

  • Is it possible to check the list of used password for my apple account?, Is it possible to check the list of used password for my apple account?

    Is it possible to check the list of used password for my apple account?, Is it possible to check the list of used password for my apple account?

    No Alvin I'm sorry but you can't access a list of used passwords for an Apple ID (or any account for that matter) as it would be consider a security flaw

  • How to fix the financial table using script

    Hi All,
    How to fix the financial table using script, (for example see below table. i have fixed manually, my document having more than 50 tables)
    %, ) are hang aligned.
    $  are left aligned as like below.
    Regards,
    Velu

    Hi Velu
    The quality of your screenshot came out pretty bad
    Maybe send another higher resolution one which on a smaller part of the table and show the hidden characters

  • What is the usb socket on the tv box used for?

    What is the usb socket on the tv box used for?

    Hi ,
    Welcome to the EE Community.
    The USB port is not currently used but will be unlocked in the future to provide new features.
    Thanks
    James

  • How to check the "check box" based on an event on form

    Hi,
    I have couple of text items and a check-box on a form. Is there a way I can check the box automatically when the text item values are edited/enterd by user ?
    I'm using the JS shown below but it doesn't work.
    I have this JS in page header.
    +<script type="text/javascript">+
    +function checkTheBox() {+
    document.getElementById('MY_KBOXNAME').checked='checked';
    +}+
    +</script>+
    And I have this in my form element options.
    onChange=checkTheBox();
    What am I doing wrong?
    Thanks in advance,
    Asha

    Hi,
    For checkbox with name P1_CHECKBOX , first checkbox is refferred using P1_CHECKBOX_0 , second one using P1_CHECKBOX_1 and so on..
    Change document.getElementById('MY_KBOXNAME').checked='checked' . instead of MY_KBOXNAME , use MY_KBOXNAME_0, MY_KBOXNAME_1 ETC depending which checkbox you want to check.
    Regards,
    SK

Maybe you are looking for

  • Output the element in a single line

    Hi all, I encontered a problem when using castor xml tool to gengerate an xml file. The parser that I an using is org.exolab.castor.parser=org.apache.xerces.parsers.SAXParser. And I set org.exolab.castor.indent=true in the castor.properties I got the

  • ExportAsFDF javascript method is not working with Reader 10.1.1

    Hi, I have pdf document in which I have applied all Extendend Reader Rights. And now when I am trying to exports alll annotation in fdf with Reader 10.1.1 then it is faling to export. However it is working fine with Reader 10.0.0. Looks like this is

  • My apple id is disBle even after I updated my password and payment information

    My apple id has been disable even after I updated passqord and payment option I dont know what else to do

  • Problem with iTunes Music Playback

    Hi, I like using itunes but im having a problem with the music playback. If i have just itunes running and some background programs i.e. anti-virus playback of music is fine but I want to be able to surf the web, and play my games while listening to

  • RSD - A Confusing Twist

    Hello all, I have posted previously with my own RSD problems. I thought I was as confident as the rest of you with this being a hardware issue, (and still 90% confident it is) though I hvae just stumbled across a scenario I want to run past all of yo