Hide / Show Fields dynamically in GeneXus SD application -



Hide / Show Fields dynamically in GeneXus SD application -

i want in smartdevices genexus 2 things, , cannot it, in advance if help me.

1) hide or show 1 field based on field, eg: in edit mode show field city when field country filled.

2) hide empty fields when in view mode show in edit mode, possible if create different layouts, want know if possible 1 layout.

thank you

ricardo.

you can utilize controlvaluechanged event. example.

event &countryid.controlvaluechanged if &countryid <> '' &cityid.visible = true endif endevent

please note edit controls, controlvaluechanged fire when edit loses focus, not when user closes keyboard. may want utilize enter event create sec field visible too. not apply if countryid dynamic combo, example.

genexus genexus-sd

Comments

Popular posts from this blog

assembly - What is the addressing mode for ld, add, and rjmp instructions? -

vowpalwabbit - Interpreting Vowpal Wabbit results: Why are some lines appended by "h"? -

Is there a way to convert an HTML page styled with Bootstrap CSS into email-compatible html? -