New OpenAir interface does not fill Company ID in correctly

https://www.openair.com/index.pl

The Company ID fills in with the user name now rather than the Company ID. The keychain has 3 form fields, form_0 (Company ID), form_1 (User Name), form_2 (Password).

How can I fix this?

Comments

  • jpw
    jpw
    Community Member

    OpenAir released an update to their web site on the 16th. The new login form inputs don't have any "name" attributes, only "id" attributes.

    AgileBits folks, any chance you can fall back to using "id" attributes if there is no matching "name" attribute? Of course this would require you to do the same when saving the form.

  • khad
    khad
    1Password Alumni

    AgileBits folks, any chance you can fall back to using "id" attributes if there is no matching "name" attribute? Of course this would require you to do the same when saving the form.

    I thought this was already the case. I'll mention this to the developers. Thanks for bringing this up.

  • jacobp
    jacobp
    Community Member

    Hi Khad - any comments from the developers?

  • khad
    khad
    1Password Alumni

    I'll post back here with more info as soon as I have any. Thanks for your patience. :)

  • jpw
    jpw
    Community Member

    I filed an issue with OpenAir and they just let me know that they added the name field to the inputs. Looks like it's working now as expected.

  • khad
    khad
    1Password Alumni

    When I looked the form was already using name attributes, but regardless of what has transpired in the past it does appear to be working well. AFAIK, the extension does look at id attributes as well (and has for a very long time). Please do let me know if you have further trouble with this or any other site.

    Cheers!

  • jacobp
    jacobp
    Community Member

    Thanks jpw - I wouldn't have known what to ask OpenAir to change. Is autosubmit working for you?

  • khad
    khad
    1Password Alumni

    It does appear that the site is doing something that breaks autosubmit. We'll see if we can get that resolved on our end, but for now you'll just need to click the green "LOG IN" button on the site to submit the form.

  • khad
    khad
    1Password Alumni

    Aha. Autosubmit is broken because the <form> tag doesn't have a method="POST" attribute. We require this in order to trigger autosubmit in order to avoid sending your credentials in the query string of a GET request, which is the default for forms without a method attribute. I'd encourage you to submit a report to OpenAir asking that this be added if you'd like to see autosubmit working there.

    Cheers,

  • jacobp
    jacobp
    Community Member

    Hi, I believe the POST method is now in the form. Can you take a look at this again:
    <form method="post" action="/index.pl" enctype="application/x-www-form-urlencoded" onsubmit="return OA.core.once();" id="login_page" class="">

  • khad
    khad
    1Password Alumni

    This should be resolved in a future update. I'm sorry I can't give a time frame, but it's on our radar. Thanks for following up on this!

  • jacobp
    jacobp
    Community Member

    Any news on this @khad? I'm still seeing the same using the current beta: Version 4.1.2.BETA-5 (412005)

  • Megan
    Megan
    1Password Alumni

    Hi @jacobp,

    Thanks for checking in on us! Unfortunately, one of our form-filling gurus just took a look at the site, and there doesn't seem to be any method="POST". 1Password will be unable to auto-submit until this element is present in the code.

  • jacobp
    jacobp
    Community Member

    Hi @Megan - Thanks for pointing that out. It had been there in the form definition back in June. I've submitted at ticket to OpenAir.

    Thanks,
    Jake

  • Megan
    Megan
    1Password Alumni

    Hi Jake ( @jacobp ),

    Thanks so much for passing that along to OpenAir - let's hope they are able to alter the code to get things working smoothly with 1Password :)

  • jacobp
    jacobp
    Community Member

    Hi @Megan, it looks like the folks are looking at the form incorrectly. Here is the HTML of the form. OpenAir also confirmed that this element is present:

        <form method="post" action="/index.pl" enctype="application/x-www-form-urlencoded" onsubmit="return OA.core.once();" id="login_page" class="">
        <input type="hidden" name="_form_has_changed" value="0"  />
        <!-- standard hiddens -->
    
        <table id="oa3_header">
            <tr class="nav_top">
                <td>
                    <img class='NSOA_logo nav_header_image' alt='Netsuite OpenAir' src='/i/oa3/NSOA.png' width='170px' height='20px'>
                </td>
                <td class="nav_sections">
                    <div class="nav_home"></div>
                    <div class="nav_modules"></div>
                    <div class="nav_details"></div>
                </td>
            </tr>
            <tr class="nav_bottom">
                <td>
    
                </td>
                <td class="nav_sections">
                    <div class="nav_user_menu">
                        <div class="nav_user">
                            <span class="nav_name"></span>
                            <div class="nav_menu_arrow"></div>
                            <span class="nav_role"></span>
                        </div>
                    </div>
                </td>
            </tr>
        </table>
        <div id="oa3_button_hide_nav">
            <span><i class="sprites dash_collapse"></i></span>
        </div>
    
    
        <!-- oa3_footer -->
        <div id="page_footer" class="oa3_footer"><p>Copyright &copy; <b>NetSuite Inc.</b> 1999-2013  All rights reserved.</p></div>
        <div id="oa3_button_create_new">
            <span id="oa3_toolbox_create_new" class="oa3_toolbox_button"><img src="/i/spacer.gif" class="spacerImage" alt="spacer"></span>
        </div>
        <div id="oa3_create_new">
            <div class="oa3cn_title">Create New </div>
        </div>
    
    
    
        <div id="oa3_toolbox"></div>
        <div id="oa3_toolbox_arrow"></div>
        <div id="oa3_toolbox_clicklayer"></div>
        <script>
            OA3.ui.core.init({"nav_locked":null,"hide_nav":null,"click_menus":1});
            OA3.ui.transform.nav.footer.init(false);
            OA3.ui.toolbox.init_hide_nav();
            OA3.ui.toolbox.init_create();
        </script>
        <div id="oa3_fade_below"></div>
    
        <!-- start of banner -->
        <table id="oa2_header"  border=0 cellspacing=0 cellpadding=0 width="100%">
        <tr>
        <td width="50%" valign="bottom" align="left">
        <div class="bannerMenu"><img class='NSOA_logo nav_header_image' alt='Netsuite OpenAir' src='/i/oa3/NSOA.png' width='170px' height='20px'></div>
        </td>
        <td width="33%" align="right" valign="center" rowspan="2">
        <div class="bannerUserInfo"></div>
        </td>
        <td width="17%" align="right" rowspan="2">
        <div class="bannerLogo"></div>
        </td></tr>
        <tr height="10px">
        <!-- end of top banner, start tabs -->
        <td valign="bottom">
    
        <table border=0 cellspacing=0 cellpadding=0><tr>
        <td valign=top>
    
        <!-- form start -->
        <span id="custom_error_messages"></span><table id="formFrame">
            <thead>
                <tr>
                    <th colspan="3" class="formTitle">
                        <span id="formTitle"><span></span><h2></h2></span>
                    </th>
                </tr>
            </thead>
            <tbody>
            <tr>
                <td class="formSectionsWrapper"><div id="formSections"></div></td>
                <td>
                    <div id="formGrid">
                        <div id="formButtons" class="buttonBar"></div>
                    </div>
                </td>
                <td class="formInstructionsWrapper"><div id="formInstructions"></div></td>
            </tr>
            </tbody>
        </table>
        <script>OA3.ui.progress.start({id:'ltf', plog:true});</script>
        <input type="hidden" name="_FORM_SUBMIT" value="1"  /><input type="hidden" name="_RAN" value="47538828"  /><input type="hidden" name="_STRIP" value="login"  /><input type="hidden" name="_DATA_FIELDS" value="account_nickname,password,storeid,user_nickname,_namespace,jump_to,_sso,_key,_clear_branding,add_default_terms,last_uid"  />
        <input type="hidden" name="_NUMBER_FIELDS" value=""  />
        <input type="hidden" name="_POPUP_FIELDS" value=""  />
        <input type="hidden" name="_DATE_FIELDS" value=""  />
        <input type="hidden" name="_TIME_FIELDS" value=""  />
        <input type="hidden" name="_GT_ZERO_FIELDS" value=""  />
        <input type="hidden" name="_GE_ZERO_FIELDS" value=""  />
        <input type="hidden" name="_EMAIL_FIELDS" value=""  />
        <input type="hidden" name="_PASSWORD_FIELDS" value="password"  />
        <input type="hidden" name="_FILE_FIELDS" value=""  />
        <input type="hidden" name="_REQUIRED_FIELDS" value=""  />
        <input type="hidden" name="_UNIQUE_FIELDS" value=""  />
        <input type="hidden" name="_HIDDEN_FIELDS" value="_namespace,jump_to,_sso,_key,_clear_branding,add_default_terms,last_uid"  />
        <input type="hidden" name="_MAXPRECISION" value=""  />
        <input type="hidden" name="_RULES_REQ_FIELDS" value=""  />
        <input type="hidden" name="_SELECTOR_FIELDS" value=""  />
        <input type="hidden" name="_MVALUE_FIELDS" value=""  />
        <input type="hidden" name="_namespace" value=""  />
        <input type="hidden" name="jump_to" value=""  />
        <input type="hidden" name="_sso" value=""  />
        <input type="hidden" name="_key" value=""  />
        <input type="hidden" name="_clear_branding" value=""  />
        <input type="hidden" name="add_default_terms" value=""  />
        <input type="hidden" name="last_uid" value=""  />
        <table  border=0 cellpadding=0 cellspacing=0 ><tr valign=top align=left><td><span class="pageIndent"></span></td><td><table class="formBox" style="visibility: hidden" border=0 cellpadding=0 cellspacing=0 ><tr class="formHeader">
        <td nowrap valign=top class="formHeader"><img src="i/oa2/spacer.gif" width=5 height=5><img src="i/oa2/spacer.gif" width=1 height=20></td>
        <td nowrap class="formHeader"><div class="formTopText">Log in</div></td><td align=right nowrap class="formHeader">&nbsp;</td>
        <td align=right valign=top class="formHeader"><img src="i/oa2/spacer.gif" width=5 height=5></td></tr>
        <tr class="formBody"><td><img src="i/oa2/spacer.gif" width=20 height=1></td><td colspan=2>
        <span id='row_section_0'><!-- START_SECTION:0 --><table  class="formLabeledPair"  cellpadding=0 cellspacing=0 border=0 ><tr><td><label for>Company ID</label></td></tr>
        <tr><td><input type="text" name="account_nickname" value="" size="25" id="login_company_id" /></td></tr>
        </table>
        <!-- END_SECTION --></span>
        <span id='row_section_1'><!-- START_SECTION:1 --><table  class="formLabeledPair"  cellpadding=0 cellspacing=0 border=0 ><tr><td><label for>User ID</label></td></tr>
        <tr><td><input type="text" name="user_nickname" value="" size="25" id="login_user_id" /></td></tr>
        </table>
        <!-- END_SECTION --></span>
        <span id='row_section_2'><!-- START_SECTION:2 --><table  class="formLabeledPair"  cellpadding=0 cellspacing=0 border=0 ><tr><td><label for>Password</label></td></tr>
        <tr><td><input type="password" name="password"  size="25" id="login_password" /></td></tr>
        </table>
        <!-- END_SECTION --></span>
        <span id='row_section_3'><!-- START_SECTION:3 --><table  class="formCheckbox"  cellpadding=0 cellspacing=0 border=0 ><tr><td><label><input type="checkbox" name="storeid" value="on" checked="checked" id="login_storeid" ref-default-value /></label><label for="storeid">Save IDs on my computer</label></td></tr>
        </table>
        <!-- END_SECTION --></span>
        </td><td><img src="i/oa2/spacer.gif" width=20 height=1></td></tr>
        <tr  class="formFooter"><td width="1px" class="formFooter"><img src="i/oa2/spacer.gif"></td><td nowrap colspan=2 align=right class="formFooter">
        <input type="submit" name="login" value="Log in" id="login_button" /></td><td class="formFooter"><img src="i/oa2/spacer.gif"></td></tr>
        </table></td><td><span class="pageIndent"></span></td></tr></table>
    
  • jxpx777
    jxpx777
    1Password Alumni

    I'm very confused at this point. I just checked the site (including in a Chrome incognito window to make sure there weren't any caching issues) and this is what I see:

    If there's another place I should be looking, please let me know…

  • jacobp
    jacobp
    Community Member
    edited January 2014

    Hi @jxpx777 - Use the Safari > Develop > Show Page Source window rather than the Web Inspector. In my Safari it's line 151 in that view:

    <script>OA.init();</script><form method="post" action="/index.pl" enctype="application/x-www-form-urlencoded" onsubmit="return OA.core.once();" id="login_page" class="">
            <input type="hidden" name="_form_has_changed" value="0"  />
    
  • jxpx777
    jxpx777
    1Password Alumni

    @jacobp I see that in the source, but 1Password only "sees" what's on the page after all the runtime things have happened. That's why the inspector is more correct. This is how the page looks to 1Password. Somewhere, the method attribute is getting removed via Javascript or something like that.

This discussion has been closed.