[doc] fixed the horizontal form example
Merge pull request #10471 from javiereguiluz/patch-4

[doc] fixed the horizontal form example