kentico


Form field custom attribute


I am building a form by using the Kentico Form Application.
I need to add in other attributes into the input fields. But the input field seems like not editable. I am editing it in the Layout tab, and view in html source
<div class="form-group">$$label:Message$$* $$input:Message$$
<p class="charCount"><span>0</span>/400</p>
</div>
It suppose to be look like this
<div class="form-group">
<label for="message">Cover message*</label>
<textarea class="form-control" name="message" id="message" maxlength="400" required></textarea>
<p class="charCount"><span>0</span>/400</p>
</div>
But how can I make it by using the Kentico Form Application?
CSS classes (class) and validation rules (maxlength) can be added and modified in Forms->Edit form->Fields->Select field. You can also wrap the fields in custom HTML code by setting the HTML envelope.
Regarding identifiers (id,name), you can't control them unless you create a custom form control.

Related Links

Macro to list all documents field value only select list
Auto Increment for Custom Module ID's
Kentico use data in memory for Web Parts visibility
Kentico webpart visibility
Kentico 7 DB Find Unused CMSWebparts
Kentico forms disable the data capture and just send the notification
Detect internal order/created in administration
First chance exception of type 'System.IO.FileLoadException' occurred
Kentico File URL for file uploaded with a custom page type
Kentico clone and customize cms.file
Facing export issue after upgrade site from Kentico 8.2 to Kentico 9
Kentio UI Permissions on an AD Role
Kentico V9 Calender/Event page types
Display field on form tab based on current page template
How to stop the link from redirecting in Kentico CMS when the user log in as admin/CMS editor?
Kentico Repeater showing a list of the recent page updates

Categories

HOME
azure-stream-analytics
merge
forms
ecmascript-6
jmx
package
database-normalization
mips
pearson-correlation
nuget-package
data-visualization
retrofit2
opengl-3
text-mining
opengl-es-3.0
code-generation
comsol
package-managers
intershop
easyphp
google-picker
swagger-2.0
draft-js-plugins
flooding
android-things
wcag
mobx
dst
complex-numbers
paragraph
testbed
modalviewcontroller
yowsup
google-knowledge-graph
dm-script
recurrent-neural-network
loading
signals-slots
ogc
plaintext
glm-math
http-request
android-exoplayer
xmldocument
netbeans6.8
x-ray
arq
custom-font
semantic-logging
cmp
baidu
javafx-css
slackware
builtins
beamer
tooleap
vorpal.js
xdoclet
pre-build-event
jtwig
freepbx
stream-processing
kiosk
sklearn-pandas
ascii-art
haskell-warp
alloy-ui
umlgraph
qtwebengine
dbaccess
android-cookiemanager
sonarqube-5.0
punycode
entry-point
clickbank
spring-3
scmmanager
server-administration
redis-py
patricia-trie
mapping-by-code
oracle-enterprise-linux
koken
node-redis
metaweblog
dot-emacs
openfaces
nstokenfield
great-circle
pnrp

Resources

Mobile Apps Dev
Database Users
javascript
java
csharp
php
android
MS Developer
developer works
python
ios
c
html
jquery
RDBMS discuss
Cloud Virtualization
Database Dev&Adm
javascript
java
csharp
php
python
android
jquery
ruby
ios
html
Mobile App
Mobile App
Mobile App