I'm storing a cookie with the name of the person who filled out a form. On the next visit, instead of the form, I'll greet them with "Welcome back name!" (which I can do using a condition for the XHTML and the tab for the form.
For some reason I can't get <!-- net:s:l__name --> or <!-- net:v:l__name --> to work when included in a form's XHTML hand-code, anywhere in the form, even though in the same routine, before assigning the packet, I can do a message('L__Name=' & L__Name) and get a value to appear without problem.
I'm on 4.31. It seems like it should be so simple. Here's the routine, from viewing the source, to show the XHTML above the form (and the L:Name does show properly on the form as retrieved from the cookie, making me think there is some code broken in the net:v:... tags).
WelcomeBack Routine
! Start of "Top of Routine"
! [Priority 5000]
Message('L:Name=' & L:Name)
! End of "Top of Routine"
packet = clip(packet) & |
'<<br/><13,10>'&|
'<<h3><<!-- Net:v:Result --><</h3><13,10>'&|
'<<br /><13,10>'&|
'<<br /><13,10>'&|
'Net.v.l__name= <<!-- net:v:L__Name --><<br /><13,10>'&|
'Net.s.l__name= <<!-- net:s:L__Name --><<br /><13,10>'&|
'<13,10>'&|
'Welcome back <<!-- net:v:L__Name -->!<13,10>'&|
'<<p /><13,10>'
! Start of "Bottom of Routine"
! [Priority 5000]
! End of "Bottom of Routine"
! [Priority 8500]