Change dash in field names to dot

Fix: jQuery does not like dots in #selector: use [id=xxx] instead