NetTalk Central

NetTalk Web Server => Web Server - Ask For Help => Topic started by: osquiabro on August 31, 2023, 02:06:02 PM

Title: loc:extra again
Post by: osquiabro 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
Title: Re: loc:extra again
Post by: Bruce 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
Title: Re: loc:extra again
Post by: osquiabro 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
Title: Re: loc:extra again
Post by: Bruce on September 04, 2023, 02:11:22 AM
fixed in 14.04
Title: Re: loc:extra again
Post by: osquiabro on September 05, 2023, 03:44:02 AM
thanks..