Page 1 of 1

How to change edit code on WLWeb

Posted: Tue Jun 27, 2017 12:33 pm
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

Re: How to change edit code on WLWeb

Posted: Tue Jun 27, 2017 5:46 pm
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