How to change edit code on WLWeb

This Q&A forum allows users to post and respond to "How Do I Do ....." questions. Please do not use to report (suspected) errors - you must use your regional help desk for this. The information contained in this forum has not been validated by LANSA and, as such, LANSA cannot guarantee the accuracy of the information.
Post Reply
sohashi
Posts: 24
Joined: Thu Dec 01, 2016 1:21 pm

How to change edit code on WLWeb

Post by sohashi »

Hi

We are developing using VLWeb.
We will set reusable parts on the WEB page.
We will set the field in the reusable parts.
Can I change the edit code by coding?

# Field.AsDisplayString (EditCode_O)

I appreciate your kind advice.
Best Regards,
Shumpei
User avatar
Stewart Marshall
Posts: 417
Joined: Thu Nov 05, 2015 5:25 pm

Re: How to change edit code on WLWeb

Post by Stewart Marshall »

Hi Shumpei

Field definitions are compiled into the generated JavaScript, so you can't change the behaviour of a field runtime.

AsDisplayString can only be used to generate a string from a numeric variable.

Regards
Stewart Marshall

Independent IT Consultant
www.marshallfloyd.com.au
Post Reply