Use grouped checkboxes with only some secured with password?

Hi,
I have a set of 4 checkboxes on my form that I have set as a radio group so that only 1 checkbox may be checked at once.  But I'd like to use Mr. George Johnson's JavaScript code on only 2 of the checkboxes so that those 2 cannot be checked unless the person has the password while the other 2 can be freely chosen without a password.  Is there a way to do this either within the code or just with the form properties?
Thanks,
Misery9980

I have a fwe more questions and a comment. When exactly are the fields going to be locked? If they will be locked and then sent to a user to complete, and one of the check boxes that gets locked is selected, do you want the user to be able to select one of the ones that are unlocked, which will cause the locked check box to be deselected? In other words, the user will be able to change one of the locked fields by selecting one of the unlocked ones. Is that OK?
The other problem with this approach is if a user has JavaScript disabled (or are using a non-JavaScript-capable viewer), they will be able to select more than one of the unlocked check boxes at a time. Because the behavior of the group of check boxes will be controlled through JavaScript, overriding the normal behavior, this could lead to an inconsistent state for the form. Is that acceptable?

Similar Messages

  • Recent update OS10.5 to 10.6 to Lion. Using Pages (4.1) only some documents won't open. At Genius bar loaded new copy Pages; reloaded Lion clean install. Still won't open although will on another computer. What now?

    Pages question: recent update OS10.5 to 10.6 to Lion. Using Pages (4.1) only some documents intermittently
    won't open. At Genius bar loaded new copy Pages; reloaded Lion clean install. Still won't open although will on another computer. On the other Mac (running Lion), saved a copy of a document with a new name and sent it back to first computer. At first it would open, but now it as well as multiple other Pages documents won't open. What now?

    yes;
    I got Pages to work now- there were two versions, one Universal, and one Intel- by moving the Universal to trash ( although I can't delete it) and moving Intel version to iWorks folder in Applications, it is now working. Doesn't explain why it didn't work though- the other MacBook pro 17 inch that could open all the Pages documents also has two copies of Pages as I see now....
    I still however can't open Numbers documents on the MacBook pro 15 inch.... it is a Universal version of Numbers.

  • Kopete - webcam will connect with only some contacts

    My PC is behind a NAT router, but I've already opened the port that MSN uses to connect the webcam, so I can see others webcams and some of my contacts also can see mine. The problem is that not all of my contacts can see my webcam.
    I thought it could be a problem with the other person's router, but I was talking to a friend with whom I can't connect my webcam and she can see others webcam. It seems not to be a problem with different versions, because some contacts have MSN Messenger 8 and it works, with others who also have MSN Messenger 8, it won't work.
    I'm completelly lost.

    Hello andre,
    but I've already opened the port that MSN uses to connect the webcam,
    could you please tell me the port? I have also the problem that my router is blocking this port, but I don't know which one it is.
    It seems that there are often some problems with MSN and p2p connections like webcam, file transfer etc. I have the same problem: with some contacts it works perfectly, with others it doesn't.
    maschino

  • How to Export only some tables with procedures and packages

    Hi...
    I want to export only some tables and packages and procedures. Can anybody please guide me how to do this.
    Thanks in advance.......
    pal

    could you please more elobarate in your question? do you want to export data from tables or you want to get the table structure, source of procedures and packages?
    Thanks
    M Thiyagarajan

  • Would like some assistance with removing chromatic aberration from images . In using the slider tool only some of aberration is removed tried brushing in but not successful. After magnifying image 1005 i can still see some slight purple fringing .

    Can anyone assist me in using chromatic aberration tools in removing purple fringing completely from images?  I have had limited success in using the slider , but in zooming in at 100% I can still see slight purple fringing in image . i tried brushing in but that did not seem to remove purple fringing completely.

    Can anyone assist me in using chromatic aberration tools in removing purple fringing completely from images?  I have had limited success in using the slider , but in zooming in at 100% I can still see slight purple fringing in image . i tried brushing in but that did not seem to remove purple fringing completely.

  • Need to use Group By but only want to group some of the columns not all

    Hello all! I am having some issues here. I am rather new to SQL and I am getting stuck with grouping. I have the query below but I only want to group by these columns, instead of all the columns in my select statement.
    ah.fund,
    ah.dept,
    ah.org,
    ah.acct,
    t.fund,
    t.dept,
    t.org,
    t.acct
    This will eventually go into Oracle reports builder. Is there any way I can archive this at all? The query will return all the t for a given time period, but they need to be grouped by the fully qualified account number which consists of the fund, dept, org and acct columns.
    Thanks in advance!
    SELECT ah.fund,
         ah.dept,
         ah.org,
         ah.acct,
         LPAD(ah.fund,3,0)||LPAD(ah.dept,2,0)||LPAD(ah.org,4,0)||SUBSTR(ah.acct,1,2) acct_no,
         LPAD(ah.fund,3,0)||LPAD(ah.dept,2,0)||LPAD(ah.org,4,0)||ah.acct acct_no1,
         t.fund,
         t.dept,
         t.org,
         t.acct,
         t.ACTIVITY_DATE,
         t.TYPE,
         t.AMT,
         t.description,
         t.TRANS_NO,
         t.RECEIPT_NO,
         DECODE(t.PO_NO,NULL,t.JOURNAL_NO,t.PO_NO) J_NO,
         DECODE(t.WARRANT_NO,NULL,t.WIRE_NO,t.WARRANT_NO) W_NO,
         t.VENDOR_NO,
         v.name||' ' ||v.first_name name,
         MIN(ah.eod_date)
    FROM ah,
         t,
         v
    WHERE ah.fund BETWEEN SUBSTR(:p_acct_from,0,3) AND SUBSTR(:p_acct_to,0,3)
         AND ah.dept BETWEEN SUBSTR(:p_acct_from,4,2) AND SUBSTR(:p_acct_to,4,2)
         AND ah.org BETWEEN SUBSTR(:p_acct_from,6,4) AND SUBSTR(:p_acct_to,6,4)
         AND ah.acct BETWEEN SUBSTR(:p_acct_from,10,5) AND SUBSTR(:p_acct_to,10,5)
         AND FLOOR(ah.acct/10000) IN (6,8)
         AND SUBSTR(ah.acct,3) != '000'
         AND ah.eod_date BETWEEN :p_from_date-1 AND :p_to_date
         AND t.fund (+) = ah.fund
         AND t.dept (+) = ah.dept
         AND t.org (+) = ah.org
         AND t.acct (+) = ah.acct
         AND TO_DATE(t.activity_date, 'dd-mon-yy') >= TO_DATE(:P_FROM_DATE,'dd-mon-yy')
         AND TO_DATE(t.activity_date, 'dd-mon-yy') <= TO_DATE(:P_TO_DATE,'dd-mon-yy')
         AND t.type IN( 'PI','JE','PR','VD','VU','AC','AD')
         AND (
              (:p_year = TO_CHAR(CURRENT_DATE,'YYYY')
              AND (t.po_no IS NULL
              OR (select TO_CHAR(open_date,'YYYY') FROM r WHERE po_no = t.po_no ) = TO_CHAR(CURRENT_DATE,'YYYY') ) )
              OR ((select TO_CHAR(open_date,'YYYY') FROM r WHERE po_no = t.po_no ) = :p_year )
    AND v.vendor_no (+) = t.vendor_no
    GROUP BY ah.fund,
         ah.dept,
         ah.org,
         ah.acct,
         t.fund,
         t.dept,
         t.org,
         t.acct,
         t.ACTIVITY_DATE,
         t.TYPE,
         t.AMT,
         t.description,
         t.TRANS_NO,
         t.RECEIPT_NO,
         DECODE(t.PO_NO,NULL,t.JOURNAL_NO,t.PO_NO),
         DECODE(t.WARRANT_NO,NULL,t.WIRE_NO,t.WARRANT_NO),
         t.VENDOR_NO,
         v.name||' ' ||v.first_name
    ORDER BY LPAD(ah.fund,3,0)||LPAD(ah.dept,2,0)||LPAD(ah.org,4,0)||SUBSTR(ah.acct,1,2),
         LPAD(ah.fund,3,0)||LPAD(ah.dept,2,0)||LPAD(ah.org,4,0)||ah.acct;

    In reports builder you can group the columns without having to group it in your query. It is also known as the break report which contains multiple groups in its data model.
        |            Q_1               |
                      |
                      |
        |       GRP_department         |
        | dept_no                      |
        | dept_name                    |
                      |
                      |
        |         GRP_employee         |
        | emp_no                       |
        | emp_first_name               |
        | emp_last_name                |
        | emp_middle_name              |
        | emp_date_of_birth            |
        | ...                          |
        ------------------------------

  • Remote control issue with only some users

    I'm having an issue that I can't seem to find any reference to anywhere.
    Our client has two servers. One is Server 2003 and is running AD, the other is 2008R2 and is running terminal services.
    When I create a new user in AD, if I set the option in AD to allow remote control, do not require permission and interact and I set these options before the first time the user logs into the terminal then I can remote control that user's session without
    a problem.
    However, if I leave the defaults in AD to allow remote control but require the user's permission and the user logs into the terminal the first time with permissions set like that then forever more I can never remote into that user's sessions. Changing the
    options in AD later to not require user's permission no longer helps. When I try to remote into that user's session the user does not get a pop-up requesting permission, rather I just get an Access Denied message. If I try to shadow via an elevated command
    prompt I get error 317. I haven't been able to find any differences in GP or the registry between users that I can shadow and those I can't. Some setting specific to each user is getting set on first login that can't seem to be undone by changing the settings
    in AD. Where might I find this?
    Thanks!

    Hi,
    Thank you for posting in Windows Server Forum.
    Please check that you have added user under “Remote Desktop User” local group. In addition they are
    added under GPO setting “Allow logon through Remote Desktop Services” and
    not added under “Deny logon through Remote Desktop Services”.
    You can check the setting under below mention path.
    GPO_name\Computer Configuration\Windows Settings\Security Settings\Local Policies\User Rights Assignment
    More information:
    Allow log on through Remote Desktop Services
    http://technet.microsoft.com/en-us/library/dn221985.aspx
    In addition please check that you are not limiting in number of users who can connect simultaneously and also verify Remote Desktop Services Logon rights. Please check beneath article for additional details.
    Remote Desktop disconnected or can’t connect to remote computer or to Remote Desktop server (Terminal Server) that is running Windows Server 2008 R2
    http://support.microsoft.com/kb/2477176
    Hope it helps!
    Thanks, 
    Dharmesh

  • Use XML Digital Signature(Apache XML security) with Applet

    I have problem when I use xml-security-1_2_1 library from Apache with applet and access denied errors occur.
    6 May 2005 10:06:45 org.apache.xml.security.Init init
    SEVERE: Bad:
    java.security.AccessControlException: access denied (java.util.PropertyPermission org.apache.xml.security.resource.config read)
    bla bla....
    How should I do ? Please! T_T and thank you ..

    An applet cannot read the local file system, connect to any other computer than the one
    it came from or read properties it's not supposed to read. And I think it cannot write to any
    property.
    If you sign the applet or set up a policy for it the applet can do the same as an application
    allthough the jre will still check the stack trace if the entire stack has the same privileges
    as you signed applet.
    http://forum.java.sun.com/thread.jsp?forum=63&thread=524815
    second post and last post for the java class file

  • Create smart album with ONLY some faces

    Hi. I need some help here. I created a smart album and I want it to have photos where only my girlfriend and I appear. I put two conditions: Face-is-my_name, and Face-is-mygirlfriend'sname. The problem is that it creates the album but it also contains photos where we and someone else appears, not only the two of us. Is there any way I can get it done?
    Thanks for your posts.

    Yes, I said to meet ALL conditions, and my smart album is in fact just like you said, with photos that have both of us but also other people.
    But I get it, the only way to exclude other people is specifically by name. I just wanted to know if there was another "more automatic" way. Thanks a lot LarryHN.

  • Really bad distortion with only some files and ga

    Hello,
    I recently bought an audigy 2 value 7.. Works like a charm with winamp, media player etc..
    however, whenever I try to play certain files with VLC media player or even some games (example, only the opening of Rise of nations) i get crazy distortion.
    I have a P4 2.3 with 384 Ram. I have reinstalled the drivers, and still no luck. Please help so I can watch the movies that are being affected.
    Ryan

    can someone please help me!!!!!!!!!!!

  • PSD comp field issue with only some elements

    I have a comp created from a layered psd file, I have animated it and most elements are fine, except this one, have a look at the frame I exported. A field issue but why only with one of the elements? When it is un-rendered it draws fine, rendered though and I get this, this layer continues on for longer than the two minute limit as well, so I had to duplicate/copy the layer, the copied version is fine...
    Also it is intermittent.
    http://www.digital-image.com.au/videos/fcp/

    hi preethi ,
    just check this code .
    data : quant like ekpo-menge,       " ur data type
              v_quant(13) type c.                     " --->proposed
              quant = 0.                                 " made initial.
              v_quant = quant.
    write:/ quant.                         
    if quant is initial.
    write:/ 'hi'.                            "gets triggered cause some value is there
    endif.
    if v_quant is initial.
    write:/ 'hi'.                           "even though value is there dosent get triggered
    endif.
                           "cause its character.
    if u can make the screen field as character then u can have solution in my opinion .
    just check if this alternate can help ur code ..
    regards,
    vijay.

  • Ipod touch working with only some earbud brands?

    All of a sudden, the Sennheiser earbuds I've been using when I run for about a year started making tracks sound..."robotic" or with an exaggerated echo. I tried my Apple earbuds and it worked fine as well as a pair of Sony earbuds and no problem. I thought it was my Sennheiser's that were faulty and grudgingly purchased a pair of  yurbuds to replace them. Same symptoms as before with the Yurbuds...Robotic and/or echo. Could this be the new OS? Could Apple have made it so that you could only use apple earbuds? They would not be so relentless would they?

    I just got a beats audio headset and it works absolutely great with my iPod touch. I suggest for you to buy one as well.

  • Searching with only some criteria

    I have a database table with six columns, all of which are nullable.
    The user has a search screen with one input for each column,
    and I'd like to return all matching values. I'm using a prepared
    statement that looks something like:
    select *
    from MY_TABLE
    where COLUMN1 like ?
      and COLUMN2 like ?
      ...My problem arises when a user doesn't enter values for all six
    search conditions. I can't put in "" or null for the parameters, because
    then it will explicitly search for those values. I can't not call setString()
    on the column numbers I'm not interested in.
    Right now I'm stuck with:
    private final static String SEARCH =
      "select * from TABLE where";
    public void myMethod() {
      final StringBuffer buffer = new Stringbuffer(SEARCH);
      final String name = httpRequest.getParameter("name").trim();
      if (!name.equals("")) {
        buffer.append("NAME like '");
        buffer.append(name);
        buffer.append("'");
      // magic 'and' insertion here if required
      final String id = httpRequest.getParameter("id").trim();
      if (!id.equals("")) {
        buffer.append("ID like '");
        buffer.append(id);
        buffer.append("'");
    }That gets really ugly over multiple items. Is there no better way?
    My coworkers insist this is my only choice, but I don't believe them.
    Thanks!

    I wound up writing a helper class to handle the situation. Right now
    it only works with Strings.
    * <p>This class wraps any search query with a dynamic 'where' clause.</p>
    * <p>Create a ConditionalQuery instance with the static clauses which
    * appear before ("select FOO from BAR") and after ("order by BAZ") your
    * dynamic 'where' clause.  For each search parameter you may be using,
    * invoke addCondition() with the column name and the search value.  If
    * the value is "", it will be ignored.  Otherwise, the value will be
    * added to the search criteria.</p>
    * <p>Once you have passed in all criteria, invoke getStatement() to
    * get a PreparedStatement you can query.  The values for the query
    * parameters will already be added to the PreparedStatement.</p>
    * <p>Sample usage:</p>
    * <code><pre>
    private static final String baseQuery = "select MAIL from LD_USERS_DUMP";
    private static final String orderClause = "order by MAIL";
    public void getEmailAddress(final String lastName, final String comitID) {
        final ConditionalQuery query =
            new ConditionalQuery(baseQuery, orderClause);
        query.addCondition("SN", lastName);
        query.addCondition("LDAP_UID", comitID);
        Connection connection = null;
        PreparedStatement preparedStatement = null;
        ResultSet resultSet = null;
        try {
            connection = DatabaseFactory.getConnection("Oracle");
            preparedStatement = query.getStatement(connection);
            resultSet = preparedStatement.executeQuery();
        } catch (final SQLException se) {
            LOGGER.error("Database error.", se);
        } finally {
            DatabaseUtilities.close(resultSet);
            DatabaseUtilities.close(preparedStatement);
            DatabaseUtilities.close(connection);
    </pre></code>
    * <p>This class is final because it is not designed to be extended.</p>
    * <p>This class is <strong>not</strong> thread-safe.</p>
    * @author Eric Stein (xbbjgns)
    public final class ConditionalQuery {
         * Contains the contents of this query up to the end of the
         * 'where' clause.
        private final StringBuffer query = new StringBuffer();
        /** Clause which goes after the 'where' clause.  May not be null.*/
        private final String postConditionClause;
         * String list of condition values, in the order they were added. */
        private final List values = new ArrayList();
         * True if this query has one or more conditions, false if there
         * are zero conditions.
        private boolean hasConditions = true;
         * Constructor.
         * @param baseQuery clause to put before the 'where' clause in
         * the query.  May not be null.
         * @throws NullPointerException if the baseQuery parameter is null.
        public ConditionalQuery(final String baseQuery)
        throws NullPointerException {
            this(baseQuery, "");
         * Constructor.
         * @param baseQuery clause to put before the 'where' clause in
         * the query.  May not be null.
         * @param postConditionClause clause to put after the 'where' clause
         * in the query.  May not be null.
         * @throws NullPointerException if either parameter is null.
        public ConditionalQuery(final String baseQuery,
                final String postConditionClause)
        throws NullPointerException {
            ValidationUtilities.checkNotNull(baseQuery, "baseQuery");
            ValidationUtilities.checkNotNull(postConditionClause,
                "postConditionClause");
            this.query.append(baseQuery.trim());
            this.query.append(" ");
            this.postConditionClause = postConditionClause;
         * Adds a condition to this query.  If the value to search for is
         * "", this method will do nothing.  If there is a search value,
         * the column and value get added to the prepared statement.  By
         * default, conditions are <strong>not</strong> case-sensitive.
         * @param columnName the name of the column a condition is being
         * added for.  May not be null.
         * @param value the value for the condition being added to the query.
         * May not be null.
         * @throws NullPointerException if either parameter is null
        public void addCondition(final String columnName, final String value)
        throws NullPointerException {
            this.addCondition(columnName, value, false);
         * Adds a condition to this query.  If the value to search for is
         * "", this method will do nothing.  If there is a search value,
         * the column and value get added to the prepared statement.
         * @param columnName the name of the column a condition is being
         * added for.  May not be null.
         * @param value the value for the condition being added to the query.
         * May not be null.
         * @param caseSensitive true for string comparisons to be
         * case-sensitive, false for them to ignore case.
         * @throws NullPointerException if the columnName or value parameters
         * are null.
        public void addCondition(final String columnName, final String value,
                boolean caseSensitive)
        throws NullPointerException {
            ValidationUtilities.checkNotNull(columnName, "columnName");
            ValidationUtilities.checkNotNull(value, "value");
            final String trimmedValue = value.trim();
            if (trimmedValue.equals("")) {
                return;
            if (this.hasConditions) {
                this.query.append("and ");
            } else {
                this.query.append("where ");
                this.hasConditions = true;
            if (caseSensitive) {
                this.query.append(columnName); 
            } else {
                this.query.append("upper(");
                this.query.append(columnName);
                this.query.append(") ");
            this.query.append(" like ");
            if (caseSensitive) {
                this.query.append("? ");
            } else {
                this.query.append("upper(?) ");
            this.values.add(value);
         * Creates a PreparedStatement from this query.  The parameters
         * for the PreparedStatement are already set.
         * query.  Will never return null.
         * @param connection the connection a prepared statement is being
         * created for.  May not be null.
         * @return a PreparedStatement whose values are set.  Will never return
         * null.
         * @throws NullPointerException if the connection parameter is null.
         * @throws SQLException if an error occurs while preparing the
         * statement.
        public PreparedStatement getStatement(final Connection connection)
        throws NullPointerException, SQLException {
            ValidationUtilities.checkNotNull(connection, "connection");
            final PreparedStatement statement =
                connection.prepareStatement(this.getQuery());
            for (int i = 0; i < this.values.size(); i++) {
                statement.setString(i + 1, (String) this.values.get(i));
            return statement;
         * Returns true if this query has at least one search condition,
         * or false if it has no conditions.
         * @return true if this query has at least one search condition,
         * or false if it has no conditions.
        public boolean hasConditions() {
            return this.hasConditions;
         * Returns a string representation of this query.
         * @return a string representation of this query.  Will never
         * return null.
        public String getQuery() {
            return this.query.toString() + this.postConditionClause;
    }

  • Problem with partion resulting in "One of the source volumes specified has an invalid format and cannot be protected using Windows Backup. Only volumes formatted with NTFS/ReFS can be protected."

    We have two new Windows Servers 2012 R2 that I'm trying to set backups on using a script. When I used the -allCritical switch, I get the error specified in the subject. When I look at the partition information using diskpart, I see a 2048 MB partition with
    no drive letter labeled as System that is FAT32. I was never prompted to my recollection of what file system to format the partition with. Is it safe to assign this partition a letter, convert to NTFS, and then remove the drive letter?
    Thanks

    I did. I assigned the drive a letter and ran  CONVERT [drive letter]:
    /FS. I was really worried during the reboot, but it came up OK, and after it was back online, I removed the drive letter.

  • TS2972 "select share" of home share on itunes - is home share an all or nothing share? Is there a way to use parent controls to share some portions with children's iphones?

    Is home share an all or nothing selection, or is there a way to "select share" with children's 5c iphones. Parent control feature to home share?
    Thanks in advance!

    I can't promise this works as I haven't tested this however on every iOS Device in the Settings app under General & Restrictions you have the ability to restrict a ton of options.
    Here's my two cents which you could try:
    On the iOS Device go to settings -> General -> Restrictions
    Go to the Music section, the TV Shows section, & Movies Section and select the appropriate rating you want your kids to have access to.
    After setting this up try accessing the home sharing and see if the content you want blocked still shows up on their devices.
    If the content still shows up then:
    On iTunes on your PC or Mac find the content you wish to block (Home Movies, Movies, TV Shows, Music, etc)
    Right click on the items you want blocked and change the rating (for example to R or NC-17). 
    I haven't tried this myself however on paper at least I think it should work.  If it does please report back and let everyone know and congrats on the new phones

Maybe you are looking for

  • Unable to load ADF Mobile for Android deployment profile.

    Hello, I'm trying to implement a simple application on an android platform using this: [http://docs.oracle.com/cd/E18941_01/tutorials/MobileTutorial/jdtut_11r2_54_2.html] I already downloaded the updates needed as extensions and started the emulator

  • What do I need to make 32bit games play on x86-64 with intel gm965?

    I have been trying to get a bunch of 32bit games to play on x86-64 with no luck. Ive tried quake4, prey, and now doom3 and all seem to have the same issues. They start to work and the screen goes black, then it just goes right back to the desktop. I

  • Debug SAP script

    Hi Gurus, I need to debug SAP script. How can I do this? Thanks, Pavan Moderator message - Please search before asking - post locked Moderator message - Please see Please read "The Forum Rules of Engagement" before posting!  HOT NEWS!! before posting

  • Help:  Error when using LSMW (Recording Object Type)

    Dear all,    I encountered an error when using "Batch Input Recording" way in LSMW,which is as follows: I have recorded the transaction MM01 and the source structure and data mapping.When dealing with "Specify Files",the error comes out with message

  • Smart Collection for flagged doesn't update

    For some reason flagging new entries doesn't reflect in the smart collection. Even after recreating it always picks up the same 32 entries and disregards others. I tried using both "any" or "all" conditions, even though it's the only one. Dual Xeon Q