Closed Bug 884775 Opened 12 years ago Closed 12 years ago

Support forum doesn't validate

Categories

(support.mozilla.org :: Questions, task, P4)

Tracking

(Not tracked)

RESOLVED FIXED
2013Q4

People

(Reporter: scoobidiver, Assigned: taygunagiali)

Details

(Whiteboard: u=dev c=general p=0 s=2013.20 [mentor=r1cky])

Whiteboard: u=dev c=general p= s=2013.backlog [mentor=r1cky]
I would like to work on this bug.
(In reply to Taygun from comment #1) > I would like to work on this bug. go for it! let me know if you have any questions.
Assigning to Taygun!
Assignee: nobody → taygunagiali
(In reply to Ricky Rosario [:rrosario, :r1cky] from comment #2) > (In reply to Taygun from comment #1) > > I would like to work on this bug. > > go for it! let me know if you have any questions. I am not sure how to solve the first validation error (Attribute required not allowed on element input at this point). Can I get a hint, please?
(In reply to Taygun from comment #4) > (In reply to Ricky Rosario [:rrosario, :r1cky] from comment #2) > I am not sure how to solve the first validation error (Attribute required > not allowed on element input at this point). Can I get a hint, please? This means there probably is a <input type="hidden" required="required"/> or similar on the page. I am pretty sure this involves tweaking our monkeypatch for adding the required attributes to stop adding them for hidden inputs: https://github.com/mozilla/kitsune/blob/master/kitsune/sumo/monkeypatch.py#L11
I am not sure if i have to post this in here, but i made a pull request for this bug. https://github.com/mozilla/kitsune/pull/1668
You need to put attach a link to the patch to this bug. E.g. create a text attachment of type patch, and set the description and content to https://github.com/mozilla/kitsune/pull/1668. Also, set the r flag to "?" because you will need the patch reviewed.
Actually, the pull request is fine. That's how we do it for sumo-dev. Thanks!
Whiteboard: u=dev c=general p= s=2013.backlog [mentor=r1cky] → u=dev c=general p=0 s=2013.20 [mentor=r1cky]
Priority: -- → P4
Target Milestone: --- → 2013Q4
You need to log in before you can comment on or make changes to this bug.