Login
Register
Search
Home
Forums
Jobs
LawsonGuru
LawsonGuru Letter
LawsonGuru Blog
Worthwhile Reading
Infor Lawson News Feed
Store
Store FAQs
About
Forums
Integration / Customization
S3 Customization/Development
How to calculate default field values on online form
Home
Forums
Jobs
LawsonGuru
LawsonGuru Letter
LawsonGuru Blog
Worthwhile Reading
Infor Lawson News Feed
Store
Store FAQs
About
Who's On?
Membership:
Latest:
chaoticist
Past 24 Hours:
2
Prev. 24 Hours:
0
Overall:
5185
People Online:
Visitors:
225
Members:
0
Total:
225
Online Now:
New Topics
Lawson Landmark
LPL INSTR Functions
4/5/2024 8:32 PM
I'm writing a simple report using the Create R
Infor SCM
Translating 856 to get the ~ REF^CN^ field
4/3/2024 8:24 PM
We are trying to get the tracking number which is
IPA/ProcessFlow
Sample XML file create Flow
4/3/2024 3:43 PM
Hello everyone, I am new to creating XML files
Lawson S3 HR/Payroll/Benefits
bn105 error message
3/26/2024 6:40 PM
I need to change some of the set ups in our Life I
IPA/ProcessFlow
IPA executing Job
3/13/2024 7:08 PM
New to the IPA world and was wondering, can an IPA
Lawson S3 HR/Payroll/Benefits
Life Age Reduction on benefits plans
3/12/2024 7:15 PM
For our optional life we have an age based coverag
Lawson S3 HR/Payroll/Benefits
BN53.1 Add-In
3/7/2024 3:31 PM
We are migrating to Solstice. They require a
Lawson Business Intelligence/Reporting/Crystal
Domain Name Change
3/5/2024 7:45 PM
Our domain name needs to change and was hoping I c
S3 Customization/Development
Cobol calling Shell Script
2/29/2024 1:27 PM
Has anyone created or modified a Lawson Cobol prog
Infor ION
ION vs IPA
2/29/2024 1:24 AM
We had a person new to Lawson and Infor go to Info
Top Forum Posters
Name
Points
Greg Moeller
4184
David Williams
3349
JonA
3288
Kat V
2984
Woozy
1973
Jimmy Chiu
1883
Kwane McNeal
1437
Ragu Raghavan
1348
Roger French
1311
mark.cook
1244
Forums
Unanswered
Active Topics
Most Liked
Most Replies
Search Forums
Search
Advanced Search
Topics
Posts
Prev
Next
Forums
S3 Customization/Development
How to calculate default field values on online form
Sort:
Oldest First
Most Recent First
You are not authorized to post a reply.
Author
Messages
Woozy
Veteran Member
Posts: 709
5/24/2011 6:34 PM
I have created a custom online inquiry form. When the form opens, I would like to populate some of the query parameters with calculated default values (which the user could override). Is this possible in 4GL?
For example, I'd like to pre-populate from/thru date fields based on the current date.
From my testing, It appears that none of the PD code is called until the user clicks Inquire/Next/Previous, which is too late for my purposes.
Am I missing something?
Venkat
Advanced Member
Posts: 22
6/12/2011 4:16 PM
For what I have realized over the past versions (from 7.x to 9.x), the default values can be defined only in .scr file and that has to be a constant. Your conclusion about control passing over to PD code is correct. The screen is presented to the user first without any of the PD code being executed. Only upon clicking a button the control passed to the PD code. This is true for both online and batch forms.
Woozy
Veteran Member
Posts: 709
6/17/2011 1:37 PM
Thanks Venkat. I'll have to work around it. I appreciate your help!
Jason Beard
Veteran Member
Posts: 124
10/6/2011 10:28 PM
I know this is an old post, but if you are using Portal/Design Studio you can use the forms on init method to set these types of values...
You are not authorized to post a reply.