Multi-line input field
-
- New User
- Posts: 5
- Joined: Mon Mar 21, 2011 3:23 pm
- First Name: Mike
- Last Name: Bernard
- Company Name: Acme Truck Line, Inc
- Phone: 985.209.5568
- Contact:
Multi-line input field
A multi-line input field that is 200 chars and defined in SDA to wrap at 50 positions (4 lines) is being interpreted by Genie as 4 different input field. Insert mode doesn't function correctly.
-
- Experienced User
- Posts: 2711
- Joined: Wed Aug 01, 2012 8:58 am
- First Name: Scott
- Last Name: Klement
- Company Name: Profound Logic
- City: Milwaukee
- State / Province: Wisconsin
Re: Multi-line input field
Unfortunately, a web browser does not work the same way as a 5250 screen. If you define a field in 5250 to be long enough, it'll wrap to the next line. However, in a browser, a long field will simply keep going to the right, it'll never wrap. (instead, if it goes off the screen, you'll get a scrollbar at the bottom... but it has no ability to wrap.) So to make things work as much like 5250 as possible, Genie has to split the field up into several smaller fields placed on separate lines, this is the only way to make them appear on separate lines. But that, as you saw, will prevent the insert mode from working as expected.
One thing you can try is combining the fields into a "text area". You can do that in the Genie designer by clicking the first field, then holding down the "Control" key and clicking the other 3 fields so that they are all highlighted at once. Then, right-click and choose "combine into Text Area" from the right-click menu. This will give you a multi-line input field (in the style that a browser uses for multi-line input). It won't work exactly like the single line does in 5250, but may serve your purposes...
One thing you can try is combining the fields into a "text area". You can do that in the Genie designer by clicking the first field, then holding down the "Control" key and clicking the other 3 fields so that they are all highlighted at once. Then, right-click and choose "combine into Text Area" from the right-click menu. This will give you a multi-line input field (in the style that a browser uses for multi-line input). It won't work exactly like the single line does in 5250, but may serve your purposes...
- Alex
- Profound Logic Staff Member
- Posts: 233
- Joined: Fri Jan 04, 2008 12:10 pm
- First Name: Alex
- Last Name: Roytman
- Company Name: Profound Logic Software
- Contact:
Re: Multi-line input field
I am not sure if you have access to the Profound UI DDS Conversion module. That process is no limited by 5250 and would create a true Text Area for you, if you converted the screen. Converted screens can operate seamlessly within Genie.
Who is online
Users browsing this forum: No registered users and 2 guests