Change an input field adjacent to specified label

Use this Forum to post your “How to …” questions about your use of aXes. This is not a technical support forum. Both the aXes Support Team at LANSA and other aXes customers may answer your questions. LANSA cannot guarantee the accuracy of any information posted by customers.

Moderator: jeanmichel

Post Reply
jtaljaard
Posts: 11
Joined: 06 Sep 2023, 18:51

Change an input field adjacent to specified label

Post by jtaljaard » 18 Sep 2023, 21:18

If a label indicates the type of field next to it, is there a means of setting up an AUTOGUI rule to change it?

E.g, if the label says Date......: [inputfield], how would one go about changing the input field to a date picker even though there is no data within the input field?

I know how to change it based on the format of input inside the input field which changes it to a date picker, but not sure how you could if there is no data in the field yet.
Attachments
Screenshot 2023-09-18 131836.png
Screenshot 2023-09-18 131836.png (1.82 KiB) Viewed 13161 times

User avatar
Dino
Posts: 88
Joined: 19 May 2017, 08:29

Re: Change an input field adjacent to specified label

Post by Dino » 18 Sep 2023, 21:44

You can create an autogui rule, for Date, indicate target the input field, left contains Date text, that will do it. You don't need data in the input field

jtaljaard
Posts: 11
Joined: 06 Sep 2023, 18:51

Re: Change an input field adjacent to specified label

Post by jtaljaard » 18 Sep 2023, 22:01

When you replied I remembered going over that in the tutorial so I found it, but thanks so much!

What solved my issue (based on Dino's response):
Screenshot 2023-09-18 135522.png
Based on Dino's reply which solved my issue.
Screenshot 2023-09-18 135522.png (4.85 KiB) Viewed 13157 times
Found in Tutorial 4 AutoGUI+ (this is based on Gender but the same applies):
Screenshot 2023-09-18 135620.png
Found this as well on the Tutorial 4 AUTOGUI+, which is similar.
Screenshot 2023-09-18 135620.png (21.86 KiB) Viewed 13157 times
Thanks a lot Dino!

Post Reply