Discussions
Categories
Groups
Community Home
Categories
INTERNAL ENABLEMENT
POPULAR
THRUST SERVICES & TOOLS
CLOUD EDITIONS
Quick Links
MY LINKS
HELPFUL TIPS
Back to website
Home
Web CMS (TeamSite)
Dynamically increase the text maxlength on form initialization
Opeth
Hi all,
Can anybody give me any directions on the following 2 questions?
1) Can I increase the maxlength attribute of text on form initialization?
For instance, on form initialization I want to update the below maxlength to 200.
[html]
[/html]
2) Can I update text element to textarea on form initialization too?
[html]
Test
Test
[/html]
I want to update the above item on my DCT as below on form initialization.
[html]
Test
Test
[/html]
Any suggestions will be a great help.
Thanks
Opeth
Find more posts tagged with
Comments
ISCBorisB
No for both, not without hacking. Your desired DCT changes seems to be DCR transparent.
If you go ahead and change DCT your DCRs will work just fine in new shape.
If that's undesirable for some DCRs, make a new type (in this case you would have to change extended attribute after copying to new type).
It is possible to a degree to handle that sort of things *dynamically* using DCT Inlines.
Note that execution of it happens before the Form is built and you wouldn't know DCR name you are trying to open, etc...
Opeth
Thanks ISCBorisB. Hacking is the only way to solve the issue.