Welcome to the nuBuilder Forums!

Register and log in to access exclusive forums and content available only to registered users.

Masking input fields in subform

Questions related to using nuBuilder Forte.
Post Reply
yvesf
Posts: 315
Joined: Sun Mar 14, 2021 8:48 am
Location: Geneva
Has thanked: 87 times
Been thanked: 11 times

Masking input fields in subform

Unread post by yvesf »

Hello,


I would like to mask input fields in a subform. How can you do that ? No access to custom tab, I used to do that with the event behind the custom tab of the object. How can you do that ? at the form level ? Could you give me an example ?
Normally I use this method to format --> viewtopic.php?p=23069#p23069
Many thanks for your help.


Yves
kev1n
nuBuilder Team
Posts: 4296
Joined: Sun Oct 14, 2018 6:43 pm
Has thanked: 71 times
Been thanked: 444 times
Contact:

Re: Masking input fields in subform

Unread post by kev1n »

Place the code in the main form's Custom Code field.
yvesf
Posts: 315
Joined: Sun Mar 14, 2021 8:48 am
Location: Geneva
Has thanked: 87 times
Been thanked: 11 times

Re: Masking input fields in subform

Unread post by yvesf »

Hello Kevin,

Code is already there but because I am on a subform, on the field, I cannot open the custom tab and use the onkeydown() event to put the mask concerning this field. How to invoke the onkeydown() even at the form level to impact the subform ?
Many thanks for your answer,

Yves
kev1n
nuBuilder Team
Posts: 4296
Joined: Sun Oct 14, 2018 6:43 pm
Has thanked: 71 times
Been thanked: 444 times
Contact:

Re: Masking input fields in subform

Unread post by kev1n »

I can't understand it. You double click on a title of the subform field and in the popup you can enter the event in the Custom Code tab.
Post Reply