input css class

Confluence User - 21 Sep, 2017

may i create input with css class or add custom html5 data-xxx="" attribute? 

forms;html;input;css;html5

3


24 Sep, 2017
confluenceUser
confluenceUser

You can extend the existing form element and modify their .ftl freemarker files. See https://github.com/jogetworkflow/jw-community/blob/5.0-SNAPSHOT/wflow-core/src/main/resources/templates/textField.ftl

27 Sep, 2017
confluenceUser
confluenceUser

thank you. @walter

but i planed operation can add simple css class for some input for call jQuery function like my old system

example

.datePass -> call datepicker and select date before today

.dateFrom and .dateTo -> call datePicker and make date range from value between 2 input

.postcode -> limit user can fill only 4 digit of postcode

 

30 Sep, 2017
confluenceUser
confluenceUser
RELATED QUESTIONS

Your answer


To answer a question you'll need an account.

Print