NetTalk Central
Toggle navigation
Login
Register
×
Welcome,Guest
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
NetTalk Central
»
NetTalk Web Server
»
Web Server - Ask For Help
»
p_web.CreateMedia and loc:extra don't work
« previous
next »
Print
Pages: [
1
]
Author
Topic: p_web.CreateMedia and loc:extra don't work (Read 5502 times)
osquiabro
Hero Member
Posts: 687
p_web.CreateMedia and loc:extra don't work
«
on:
February 11, 2023, 04:54:52 AM »
Hi Bruce, the p_web.CreateMedia('loc:st_filename',p_web.gsv('loc:st_filename'),,loc:fieldclass,,loc:extra,loc:javascript) & p_web.CRLF don't recognize the value of loc:extra
NT 12.50
Logged
Bruce
Global Moderator
Hero Member
Posts: 11250
Re: p_web.CreateMedia and loc:extra don't work
«
Reply #1 on:
February 12, 2023, 11:20:16 PM »
fixed for 12.55
Logged
osquiabro
Hero Member
Posts: 687
Re: p_web.CreateMedia and loc:extra don't work
«
Reply #2 on:
February 15, 2023, 07:13:08 AM »
same problem with p_web.CreateInput loc:extra don't work
nt 12.55
Logged
osquiabro
Hero Member
Posts: 687
Re: p_web.CreateMedia and loc:extra don't work
«
Reply #3 on:
February 15, 2023, 07:34:51 AM »
same code in both version
loc:extra = clip(loc:extra)&' inputmode="none" '
Logged
osquiabro
Hero Member
Posts: 687
Re: p_web.CreateMedia and loc:extra don't work
«
Reply #4 on:
February 15, 2023, 09:44:38 AM »
i modify this line:
#!loc:extra = p_web.SetEntryWidth(loc:extra,%FormFieldWidth,Net:Form)
for this:
loc:extra = clip(loc:extra) & p_web.SetEntryWidth(loc:extra,%FormFieldWidth,Net:Form)
netweb.tpw
Logged
Bruce
Global Moderator
Hero Member
Posts: 11250
Re: p_web.CreateMedia and loc:extra don't work
«
Reply #5 on:
February 16, 2023, 01:00:20 AM »
you'll need to be more specific about what line you're editing in what module ?
Logged
osquiabro
Hero Member
Posts: 687
Re: p_web.CreateMedia and loc:extra don't work
«
Reply #6 on:
February 16, 2023, 03:36:53 AM »
Bruce, in netweb.tpw line 11701 and line 11706
Logged
Bruce
Global Moderator
Hero Member
Posts: 11250
Re: p_web.CreateMedia and loc:extra don't work
«
Reply #7 on:
February 16, 2023, 07:46:31 PM »
alas your fix is incorrect because it needs to merge the loc:extra, not append to it.
Can you give me the context of your code, - where you are seeing loc:extra, and what to?
Better yet tweak one of the examples to show the effect and send that to me.
Cheers
Bruce
Logged
osquiabro
Hero Member
Posts: 687
Re: p_web.CreateMedia and loc:extra don't work
«
Reply #8 on:
February 17, 2023, 04:21:03 AM »
in any field 4 Value routine put:
loc:extra = clip(loc:extra)&' input mode="none" '
if you see the attached image in version 12.50 the extra field is added but in 12.55 it doesn't, after changing the code with the line of version 12.50 it works again
Logged
Bruce
Global Moderator
Hero Member
Posts: 11250
Re: p_web.CreateMedia and loc:extra don't work
«
Reply #9 on:
February 17, 2023, 07:34:56 AM »
Hi Osa,
please post an example, perhaps a modified shipping example, that shows the issue.
thanks
Bruce
Logged
osquiabro
Hero Member
Posts: 687
Re: p_web.CreateMedia and loc:extra don't work
«
Reply #10 on:
February 17, 2023, 08:31:45 AM »
in FieldExpo procedure,entry tab, the field aAutoComplete have this code:
loc:extra = clip(loc:extra)&' inputmode="none" '
and not generate
Logged
Bruce
Global Moderator
Hero Member
Posts: 11250
Re: p_web.CreateMedia and loc:extra don't work
«
Reply #11 on:
September 04, 2023, 02:11:15 AM »
fixed in 14.04
Logged
Print
Pages: [
1
]
« previous
next »
NetTalk Central
»
NetTalk Web Server
»
Web Server - Ask For Help
»
p_web.CreateMedia and loc:extra don't work