Please login or register.

Login with username, password and session length
Advanced search  

News:

Latest sNews - sNews 1.7 - with its own forums - for discussion and user mods.

Author Topic: [MOD] Accessible Contact Form (sNews 1.4)  (Read 3295 times)

benjer

  • Newbie
  • *
  • Karma: 0
  • Posts: 20
[MOD] Accessible Contact Form (sNews 1.4)
« on: July 24, 2006, 10:06:08 pm »

I have made small changes to the contact form so it uses
Logged

Mika

  • Hero Member
  • *****
  • Karma: 9
  • Posts: 1377
    • http://www.ni5ni6.com/
[MOD] Accessible Contact Form (sNews 1.4)
« Reply #1 on: July 25, 2006, 06:39:54 am »

nice job benjer :)
1.4 will be more accessible that way, thx!

(btw, luka already included form labeling in 1.5)
Logged
http://www.ni5ni6.com/ - Tutorials, Mods and How-To's about sNews CMS
sNews 1.6 Developers Edition - commented sNews 1.6 version

Patric Ahlqvist

  • Nobodys perfect, but Im pretty effing close
  • ULTIMATE member
  • ******
  • Karma: 65
  • Posts: 4867
  • I'm a self-made man and worships my creator.
    • p-ahlqvist.com
[MOD] Accessible Contact Form (sNews 1.4)
« Reply #2 on: July 25, 2006, 10:42:54 am »

When testing things i've learned that
Logged
"It's only dead fish that goes with the flow... "
Updated

Mika

  • Hero Member
  • *****
  • Karma: 9
  • Posts: 1377
    • http://www.ni5ni6.com/
[MOD] Accessible Contact Form (sNews 1.4)
« Reply #3 on: July 25, 2006, 11:18:26 am »

form element and it's child elements must be enclosed in a block-level element such as
,
or



example:

Quote

my form




...

Logged
http://www.ni5ni6.com/ - Tutorials, Mods and How-To's about sNews CMS
sNews 1.6 Developers Edition - commented sNews 1.6 version

Elvino

  • Newbie
  • *
  • Karma: 0
  • Posts: 44
    • http://www.elvino.it/
[MOD] Accessible Contact Form (sNews 1.4)
« Reply #4 on: July 25, 2006, 02:35:45 pm »

hi,
my modifications for accessibility:

Code: [Select]
// CONTACT
function contact() {
if ($_POST['contactform'] == "") {?>



text.........



Completa i campi sottostanti per scrivermi