Open Bug 159259 Opened 22 years ago Updated 2 years ago

SprintPCS submit form in account editing does not accept phone number

Categories

(Core :: Layout: Form Controls, defect, P3)

x86
Windows XP
defect

Tracking

()

mozilla1.4beta

People

(Reporter: eugene.vasserman, Unassigned)

References

()

Details

(Whiteboard: [technote-needed])

Attachments

(1 file)

From Bugzilla Helper: User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.1b) Gecko/20020722 BuildID: 20020722 For anyone who has an existing account: every time you submit the account editing form (even if it was not changed in any way and is the original info), the form rejects the phone number (server-side after submit) and returns the exact same form. Can't find any way to make any phone number be accepted. Form works correctly under IE 6.0.2600.0000.xpclnt_qfe.010827-1803 Reproducible: Always Steps to Reproduce: 1. Log in. 2. Go to Profile 3. Go to account info 4. Submit form (with or without changes) Actual Results: Phone number is rejected (invalid). No more useful info is given. Expected Results: Form should be formatted correctly. Not sure if this is a Tech Evangelism issue or a mistake in the way Mozilla is handling the form.
Please save the page as "web page, complete" and attach it here... (since an account is needed to access it).
I was just about to submit a bug on this, which seems like quite a coincidence. Perhaps Sprint has recently changed their html to invoke this bug. No matter. Here's what's happening: The form, for some reason, has an <input type="image"> enclosed in <a href> and </a> tags. When clicking on the image to submit the form, Mozilla is following the <a href> instead - which leads to a somewhat misleading error page. It seems like blatently bad html to me, but it (of course) works under IE. I've attached a simple test case: clicking on the button or the image submits the form (and goes to mozilla.org) under IE. Under Mozilla, it follows the <a href> and goes to dmoz.org.
Attachment #92675 - Attachment description: <form type=image> enclosed in <a href> test case → <input type=image> enclosed in <a href> test case
->HTML Form controls I don't think this is valid HTML... putting a SUBMIT inside an A tag shouldn't be allowed. Sending this over to HTML Form Controls so they can look at it. If this is really not a bug in mozilla, we should reassign this bug to evangelism to contact SprintPCS.
Assignee: Matti → jkeiser
Status: UNCONFIRMED → NEW
Component: Browser-General → HTML Form Controls
Ever confirmed: true
QA Contact: asa → tpreston
I'm seeing a similar problem after I log in to my Sprint PCS account. When I attempt to look at my current usage detail, I'm thrown back to the login form. Relogging in and trying again just repeats the cycle. I tried with Netscape 6.2, and it works just fine. So, if this is an html problem, it was one that Netscape 6.2 tolerated.
I am seeing a problem on My Profile->View my Settings and Preferences->View/Update Account Information which brings you to Settings & Preferences section of the sprintpcs webpage. When I click on Submit, nothing happens under Mozilla 1.1 or Galeon 1.2.6. Opera 6.02 (identifying as Opera) works fine on this page. Below is the relevant snippet of html from that page. If you need more, let me know. Is this a separate bug/problem -- or is it the same as this bug? <tr> <td rowspan="3" align="right"><a onmouseover="window.status='Submit';return true" onmouseout="window.status='';return true" onfocus="if(this.blur)this.blur()" href="javascript:defaultForm.submit()"><img width="7" src="/assets/images/button_r_leftedge.gif" height="15" border="0"></a></td><td valign="middle" bgcolor="#fb533c" align="left"><img width="1" src="/assets/images/clear.gif" height="1" border="0"></td><td rowspan="3" align="left"><a onmouseover="window.status='Submit';return true" onmouseout="window.status='';return true" onfocus="if(this.blur)this.blur()" href="javascript:defaultForm.submit()"><img width="7" src="/assets/images/button_r_rightedge.gif" height="15" border="0"></a></td> </tr> <tr> <td valign="middle" nowrap="nowrap" bgcolor="#ff0000" align="left"><b><a onmouseover="window.status='Submit';return true" onmouseout="window.status='';return true" onfocus="if(this.blur)this.blur()" id="buttonlink" href="javascript:defaultForm.submit()">Submit</a></b></td> </tr>
Could we please have some action on this? If this is indeed a Evang bug, can it be marked as that, if not... I have the SprintPCS service, and not being able to use mozilla, which I use for everything else, is a bit annoying...
This may be solvable by doing prevent default in the submit click handler like we should be doing anyway.
So it turns out not to be so simple. For some reason the event already has prevent default before it even gets to the image! I currently suspect <a href> of doing things on capture, but the code for that doesn't look like it handles event on capture.
Depends on: 185758
Bug 185758 filed to deal with what we need to deal with to get this to work right.
Priority: -- → P3
Target Milestone: --- → mozilla1.4beta
Will write something up to explain the issue to web authors. John, if this is due to Bug 185758, want to make this an evangelism bug so we are responsible for asking them to work around it? If so, give to me please.
Whiteboard: [technote-needed]
I don't think there *is* a workaround, except to not put the <input type=image> in the <a href>.
More Sprint fun: https://manage1.sprintpcs.com/Manage This page causes a total freeze / hang in Mozilla 1.6 [ Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.6) Gecko/20040113 ] when using TAB to move between form field, then moving off the form field and (presumably) onto the submit image, then using the space bar to submit the form.
This may or not be the same problem, but I am also unable to sign up for a new plan because clicking the accept button goes to the following URL which is obviosuly wrong: http://www1.sprintpcs.com/explore/servicePlansOptionsV2/ValueOptions.jsp?bmForm=selectValueOption&bmFormID=1084645939921&bmUID=1084645939921&bmIsForm=true&bmPrevTemplate=explore%2FservicePlansOptionsV2%2FValueOptions.jsp&bmCheckbox=agreementTerm&agreementTerm=2yrcontract0mrcq302&bmText=&=PCS+ADVANTAGE+AGREEMENT%0D%0AThe+PCS+Advantage+Agreement+%28%22Agreement%22%29+is+your+Agreement+for+PCS+Service+from+Sprint+and+incorporates+the+terms+of+your+service+plan+and+the+most+recent+PCS+Terms+and+Conditions+of+Service+%28%22Ts+and+Cs%22%29.+Carefully+read+these+Ts+and+Cs+which+include%2C+among+other+things%2C+a+MANDATORY+ARBITRATION+of+disputes+provision.+A+copy+of+the+Ts+and+Cs+comes+with+your+phone%2C+and+is+also+available+at+Sprint+Stores%2C+www.sprintpcs.com%2C+or+through+our+Customer+Service+Solutions+department.+We+may+occasionally+modify+the+Ts+and+Cs%2C+so+make+sure+you+have+the+most+current+version.%0D%0A%0D%0ATerm+Agreements%3A+If+your+Agreement+requires+you+to+keep+a+phone+active%2Fmaintain+a+line+service+for+a+minimum+Term%2C+the+Term+begins+on+the+phone+activation+date%3B+for+customers+changing+service+plans%2C+the+Term+begins+when+the+new+service+plan+is+selected.+You+may+terminate+any+line+service+before+its+Term+ends+by+calling+*2%2C+however+you+will+be+responsible+for+an+EARLY+TERMINATION+FEE+of+%24150+%28%22Fee%22%29+as+to+each+line+of+service+terminated+early.+You+will+also+be+charged+the+Fee+if+we+terminate+any+line+of+service+because+of+a+default+as+to+that+line+of+service.+We+will+not+charge+the+Fee+for+terminations+under+our+Satisfaction+Guarantee+policy+or+where+the+Ts+and+Cs+allow+you+to+do+so+without+the+Fee.+Payment+of+the+Fee+does+not+satisfy+other+outstanding+obligations+owed+to+us%2C+including+maintaining+Term+Commitments+as+to+other+lines+of+service+on+your+account%2C+or+service+or+equipment+related+charges.%0D%0A%0D%0ASERVICE+PROVISIONS%0D%0AService+plans%2C+customizable%2Fupgrade+options+and+special+offers+are+available+from+4%2F4%2F04+through+4%2F15%2F04%2C+and+may+not+be+available+everywhere+or+combinable+with+certain+other+promotions+%2Foptions.+Coverage+is+not+available+everywhere.+See+our+mapping+brochure+for+approximate+outdoor+coverage+information.++Plans+are+subject+to+credit+approval.+Taxes%2C+surcharges+%28including+a+USF+charge+which+may+change+monthly+-+2.16%25+as+of+the+print+date+of+this+brochure+-+and+cost+recovery+fees+of+%241.50%29+or+other+fees+which+vary+by+market%2C+not+included.++Cost+recovery+fees+are+not+taxes+or+government+required+charges.++Call+1-866-770-6690+for+the+up+to+date+amount+of+the+USF+charge+and+information+on+cost+recovery+charges.+A+non-refundable+%2436.00+phone+activation+fee+applies+to+new+activations%2C+certain+service+plan+changes+or+upgrades+of+equipment.+A+deposit+of+up+to+%24500+may+be+required+to+establish+service+or%2C+in+certain+instances%2C+to+qualify+for+a+discount+on+a+device.+Service+requires+a+phone+compatible+with+our+network.+Monthly+service+charges+are+nonrefundable+if+service+is+terminated+before+your+billing+cycle+ends.+Changes+to+your+service+plan+may+incur+a+charge.+Not+all+services+or+options+available+with+PCS+devices+are+set+forth+or+fully+discussed+in+this+brochure+%28e.g.%2C+PCS+Ready+Link%2C+Equipment+Replacement%2C+etc.%29.++See+additional+in-store+materials+for+complete+details+on+these+service+or+options.++%0D%0A%0D%0ABasic+Services%3A+All+phone+usage%2C+including+incoming+and+outgoing+calls%2C+incur+charges.+Unused+plan+minutes+do+not+carry+forward.+Except+with+Free+%26+Clear+America%2C+included+plan+minutes+are+not+good+for+local+or+long-distance+calls+made+when+roaming+off+our+network.+Plan+minutes+included+with+Area-Wide+plans+are+not+good+for+calls+placed+while+outside+the+local+calling+area+or+when+roaming+off+our+network.+International+roaming+rates+will+vary.+On+a+call+that+crosses+time+periods%2C+minutes+are+deducted+or+charged+based+on+the+call+start+time.+Calls+are+rounded+up+to+the+next+whole+minute.+With+the+PCS+to+PCS+Calling+option%2C+minutes+are+deducted+first+from+PCS+to+PCS+Calling+option+minutes+and+then+from+service+plan+minutes.+PCS+to+PCS+Calling+only+available+on+calls+placed+directly+between+separate+PCS+Phones+%28not+through+voicemail%2C+Directory+Assistance%2C+or+other+indirect+methods%29+while+each+are+on+the+Sprint+Nationwide+PCS+Network.++SMS+Text+Messages+are+%24.10+per+message+received+and+sent.+%0D%0A%0D%0APCS+Vision+%28Data%29+Services%3A+Services+require+a+Vision-enabled+PCS+Phone+or+device+and+are+not+available+while+roaming+off+the+Sprint+Nationwide+PCS+Network.+Data+usage+is+calculated+on+a+per+kilobyte+basis.+If+you+have+not+selected+a+PCS+Vision+Pack%2C+you+will+be+charged+a+casual+usage+rate+of+%24.01+for+each+kilobyte+when+accessing+PCS+Vision.+Data+usage+is+rounded+up+to+the+next+whole+kilobyte.+Rounding+occurs+at+the+end+of+each+session+or+each+clock+hour+and%2C+at+that+time%2C+we+will+deduct+accumulated+data+usage+from+your+plan%2C+or+assess+overage+or+casual+usage+charges.+You+are+responsible+for+all+data+activity+from+and+to+your+phone%2Fdevice%2C+regardless+of+who+initiates+the+activity.+You+will+be+charged+for+partial%2Finterrupted+data+downloads%2C+including+data+that+is+automatically+resent%2C+and+for+unsuccessful+attempts+to+reach+websites%2C+use+applications+or+services.+As+long+as+you+are+logged+on+the+Sprint+Nationwide+PCS+Network%2C+you+will+incur+data+usage+charges.+Additional+data+is+used+in+transporting+and+routing+on+our+network%2C+and+data+may+be+automatically+resent+due+to+interrupted+or+partial+downloads.+For+this+and+other+reasons%2C+estimates+of+data+usage+will+vary+from+actual+use.+In+certain+instances%2C+we+may+delete+premium+and+non-premium+items+downloaded+to+available+storage+areas+%28e.g.%2C+personal+vault%29%2C+including+any+pictures%2C+games%2C+ringers+or+screen+savers.+Your+invoice+will+not+separately+identify+the+number+of+kilobytes+attributable+to+your+use+of+specific+sites%2C+sessions+or+services+used.+Downloading+or+use+of+Premium+Services+are+generally+not+included+with+PCS+Vision+access.+We+provide+no+warranties+and+make+no+representations+or+claims+with+regard+to+any+content+provided+by+a+third+party.%0D%0A%0D%0APROMOTIONS%2C+OPTIONS+AND+OTHER+PROVISIONS%0D%0APCS+Vision.+Sprint+may+deny+or+terminate+service+without+notice+where+use+is+in+connection+with+server+devices+or+host+computer+applications%2C+other+systems+that+drive+continuous+heavy+traffic+or+data+sessions%2C+or+as+substitutes+for+private+lines+or+frame+relay+connections.+PCS+Vision+Packs+are%3A+%28a%29+only+available+with+a+Vision+capable+PCS+Phone+or+PCS+smart+phone+device%3B+and+%28b%29+not+available+with+Connection+Cards%2C+Aircards%2C+or+any+other+device+used+in+connection+with+a+computer+or+PDA+-+including+phones%2C+smart+phones+or+other+devices+used+with+connection+kits+or+similar+phone-to-computer%2FPDA+accessories.+PCS+Vision+Packs+are+also+not+available+with+Bluetooth+Vision+capable+PCS+Phones+used+as+a+modem+in+connection+with+other+devices.+Sprint+reserves+the+right+to+deny+or+to+terminate+service+without+notice+for+any+misuse.++PCS+Vision+Pack+credits+for+premium+services+do+not+carry+forward+and+are+not+available+on+for+use+with+Picture+Mail+and+video+related+Premium+Services+which+may+be+available+in+the+future.%0D%0A%0D%0APCS+Free+%26+Clear+America%3A++Option+not+available+with+single-band+or+digital+mode+only+phones%2C+or+to+customers+not+residing+in+an+area+covered+by+the+Sprint+Nationwide+PCS+Network.+Sprint+may+terminate+service+if+a+majority+of+minutes+in+a+given+month+are+used+while+roaming+off+the+Sprint+Nationwide+PCS+Network.++International+calling+while+off+the+Sprint+Nationwide+PCS+Network+%28including+in+Canada%29%2C+not+included.+Usage+in+Expanded+Voice+Coverage+areas+may%2C+in+some+instances%2C+be+invoiced+after+30-60+days.+When+calling+from+Expanded+Voice+Coverage+Areas%3A+%28a%29+PCS+Vision+and+PCS+to+PCS+calling+services+are+not+available%3B+and+%28b%29+certain+calling+features+%28Voicemail%2C+Caller+I.D.%2C+Call+Waiting%2C+etc.%29+may+not+work.%0D%0A%0D%0APCS+Add-a-Phone%3A+Requires+a+minimum+one-year+PCS+Advantage+Agreement+for+each+phone%2Fline+of+service+added+%28%22Secondary+Line%22%29.+The+first+phone+activated+on+the+service+plan+%28%22Primary+Line%22%29+and+Secondary+Lines+may+have+different+Term+commitment+end+dates.++If+the+Primary+Line+on+the+account+is+terminated+prior+to+the+expiration+of+the+Term+of+any+Secondary+Line%2C+a+Secondary+Line+must+move+to+the+Primary+Line+position.+++%0D%0A%0D%0APCS+Voice+Command+is+not+available+while+roaming+off+the+Sprint+Nationwide+PCS+Network.+Calls+to+911+or+similar+emergency+numbers+cannot+be+placed+through+PCS+Voice+Command.+You+may+dial+%22911%22+on+your+PCS+Phone+in+an+emergency.+When+you+dial+or+complete+a+call+using+PCS+Voice+Command%2C+airtime+and+applicable+long+distance+charges+begin+when+you+press+or+activate+the+TALK+or+similar+key.+%0D%0A%0D%0ATrial+Offers%3A+If+you+do+not+wish+to+continue+with+any+service+trial+offer+%28PCS+Vision+Pack%2C+PCS+Voice+Command%2C+etc.%29+after+the+initial+2+months%2C+you+must+contact+us+prior+to+the+billing+end+date+of+your+second+invoice+to+avoid+charges.%0D%0A%0D%0ASatisfaction+Guarantee%3A+Requires+return+of+your+complete%2C+undamaged+PCS+Phone+from+Sprint+with+the+original+retailer%27s+proof+of+purchase+within+14+days+of+purchase.+We+will+send+a+refund+either+by+check+or+a+charge-card+credit.+You+will+remain+responsible+for+all+charges+incurred+prior+to+the+return+of+the+phone+%28e.g.+activation+fees%2C+service+charges%2C+etc.%29.%0D%0A%0D%0A%28c%29+2004+Sprint+Spectrum4.+All+rights+reserved.+Sprint+and+the+diamond+logo%2C+and+all+other+Sprint+marks+are+trademarks+of+Sprint+Communications+Company+L.P.%2C+used+under+license.%0D%0A%0D%0A&bmImage=addToCart.x&bmImage=addToCart.y&addToCart.x=39&addToCart.y=11&bmHidden=FOLDER%3C%3Efolder_id&FOLDER%3C%3Efolder_id=1484011&bmHidden=CURRENT_USER%3C%3EATR_SCID&CURRENT_USER%3C%3EATR_SCID=ECOMM&bmHidden=CURRENT_USER%3C%3EATR_PCode&CURRENT_USER%3C%3EATR_PCode=None&bmHidden=CURRENT_USER%3C%3EATR_cartState&CURRENT_USER%3C%3EATR_cartState=group&bmFields=bmForm%2CbmFormID%2CbmUID%2CbmIsForm%2CbmPrevTemplate%2CbmCheckbox%2CbmText%2CbmImage%2CbmHidden&bmHash=14400795f12edca779232da9dd8382ddaeac967b I believe the html looks like: <p><a href="http://www.sprintpcs.com/common/popups/popAAFull.html" onClick="popUp(this.href, 'null','450','275','yes');return false;">Printable Version</a> </p><p class="tighter"><input type="hidden" name="bmImage" value="addToCart.x"><input type="hidden" name="bmImage" value="addToCart.y"><input name="addToCart" type="image" src="/media/Assets/Controls/button_r_accept_2f60ad.gif"></p><p><a href="http://www1.sprintpcs.com/explore/servicePlansOptionsV2/PlansSummary.jsp?removalConfirmed=Y&REMOVE_SELECTED_PLAN_INFO=YES&REMOVE_CART_ITEM%3C%3Eprd_id=1570135&REMOVE_CART_ITEM%3C%3Esku_id=1570963&REMOVE_CART_ITEM%3C%3Equantity=1&REMOVE_CART_ITEM%3C%3EATR_planTypeFolderId=0&REMOVE_CART_ITEM%3C%3ElistPriceAmt=35.00&REMOVE_CART_ITEM%3C%3EsalePriceAmt=35.00&REMOVE_CART_ITEM%3C%3EextendedPriceAmt=35.00&REMOVE_CART_ITEM%3C%3EshortDesc=Fair+Flexible+Plan+%2435&REMOVE_CART_ITEM%3C%3EproductCode=500minldffaff&REMOVE_CART_ITEM%3C%3Efolder_id=1567897&REMOVE_CART_ITEM%3C%3EcartIndex=0&FOLDER%3C%3Efolder_id=1484011&CURRENT_USER%3C%3EATR_SCID=ECOMM&CURRENT_USER%3C%3EATR_PCode=None&CURRENT_USER%3C%3EATR_cartState=group&bmForm=selectPlanType&bmFormID=1084646286805&bmSubmit=remove_from_cart&bmUID=1084646286805&bmHash=4de06c8de241c94536d1d70cc40360ef38be87b0" CLASS="superLink">Cancel</a></p><input type="hidden" name="bmHidden" value="FOLDER<>folder_id"> <input type="hidden" name="FOLDER<>folder_id" value="1484011"> <input type="hidden" name="bmHidden" value="CURRENT_USER<>ATR_SCID"> <input type="hidden" name="CURRENT_USER<>ATR_SCID" value="ECOMM"> <input type="hidden" name="bmHidden" value="CURRENT_USER<>ATR_PCode"> <input type="hidden" name="CURRENT_USER<>ATR_PCode" value="None"> <input type="hidden" name="bmHidden" value="CURRENT_USER<>ATR_cartState"> <input type="hidden" name="CURRENT_USER<>ATR_cartState" value="group"> <input type="hidden" name="bmFields" value="bmForm,bmFormID,bmUID,bmIsForm,bmPrevTemplate,bmCheckbox,bmText,bmImage,bmHidden"> <input type="hidden" name="bmHash" value="30c3ae28403315756585a21c4a3624c295959a58"> The "Printable Version" and "Cancel" links work correctly. I see this using Mozilla, Camino, and Firefox on Mac OSX. Safari works.
QA Contact: tpreston → layout.form-controls
Assignee: john → nobody
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: