NetTalk Central

Author Topic: loc:extra again  (Read 3230 times)

osquiabro

  • Hero Member
  • *****
  • Posts: 687
    • View Profile
    • Email
loc:extra again
« on: August 31, 2023, 02:06:02 PM »
i have this code in a field loc:extra = clip(loc:extra)&' inputmode="none" ' but NT 12 and 14 overwrite with this:

loc:extra = p_web.SetEntryWidth(loc:extra,,Net:Form)

this occurs in netweb.tpw:

#Group(%MakeFormSize)
    #case(%FormFieldType)
      #of('File Upload')
      #orof('String')
      #orof('Date')
      #orof('Drop')
      #orof('Color')
      #orof('Month')
      #orof('Number')
      #orof('Slider')
      #orof('Spinner')
      #orof('Range')
      #orof('Email')
      #orof('Telephone')
      #orof('Time')
      #orof('URL')
      #orof('Week')
  loc:extra = p_web.SetEntryWidth(loc:extra,%FormFieldWidth,Net:Form)
      #of('Text')
        #IF(%FormFieldHTMLEditor='ACE')
        #ELSE
  loc:extra = p_web.SetEntryWidth(loc:extra,%FormFieldWidth,Net:Form)
        #ENDIF
    #EndCase

Bruce

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 11250
    • View Profile
Re: loc:extra again
« Reply #1 on: August 31, 2023, 10:07:30 PM »
Hi Osa.

Did you have a question?

If you're looking for a change then you definitely need to post an example of what you are doing, so I can see the code.
Unfortunately I'm not psychic enough otherwise...

Cheers
Bruce

osquiabro

  • Hero Member
  • *****
  • Posts: 687
    • View Profile
    • Email
Re: loc:extra again
« Reply #2 on: September 01, 2023, 02:16:06 AM »
Bruce, in the past I present an example on this topic:

https://www.nettalkcentral.com/forum/index.php?topic=9175.msg37652#msg37652

Bruce

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 11250
    • View Profile
Re: loc:extra again
« Reply #3 on: September 04, 2023, 02:11:22 AM »
fixed in 14.04

osquiabro

  • Hero Member
  • *****
  • Posts: 687
    • View Profile
    • Email
Re: loc:extra again
« Reply #4 on: September 05, 2023, 03:44:02 AM »
thanks..