NetTalk Central

Author Topic: Disabling an input control  (Read 3055 times)

Thys

  • Sr. Member
  • ****
  • Posts: 311
    • View Profile
    • Incasu
    • Email
Disabling an input control
« on: September 20, 2011, 04:42:22 AM »
Hi,

I have some input controls that need to me marked readonly - that's easy with a template setting. But they also need to be disabled. I can see that the variable loc:fieldclass need to be amended with disabled="disabled" but I can't see an easier way than to block out the portion of code in the Value:: routine and add my own code instead. Any ideas?

Thys

Thys

  • Sr. Member
  • ****
  • Posts: 311
    • View Profile
    • Incasu
    • Email
Re: Disabling an input control
« Reply #1 on: September 20, 2011, 04:58:10 AM »
I got it!

I added the disabled tag in the loc:extra variable and it works.

ccordes

  • Sr. Member
  • ****
  • Posts: 384
    • View Profile
    • Email
Re: Disabling an input control
« Reply #2 on: September 20, 2011, 07:00:04 AM »
Thanks for replying back with the tip! loc:extra isn't in the NetTalk book. I couldn't find it in the regular docs either.

chris
Real programmers use copy con newapp.exe