on 04-24-2009 10:23 AM
Hi Gurus,
I have a requirement in ADOBE Form wherein basing on the movement type I need to print forms with two different headings say 'xxxxxx' and 'yyyyyy' either using single output type or else if any other method is there.
For Ex: Suppose if movement type is 205 then the heading of the form will be 'xxx' and if it is 206 the heading will be 'yyy'.
answers of doing it with single output type will be appreciated.
Hi Das,
Initially you have asked some other requirement, Any way i am providing the code for second requirement
Here i am providing the sample code for only if movement type is 205 or 206 both heading will displayed, otherthan these two movement types no heading will be dsiplayed...
IF ( ( movement type eq '205' ) or (movement type eq '205' ) ) then
$.headingfield1.presence = "visible"(XXX heading)
$.headingfield2.presence = "visible " (YYY heading)
else
$.headingfield1.presence = "hidden"(XXX heading)
$.headingfield2.presence = "hidden " (YYY heading)
endif.
Still you have concerns you can get back to me
Regards
Ramakrishna Pathi
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
You have 'alternative' option in Adobe Forms for ur requirement.
In that there will be condition for which u have to give if movement type = 225
text = 'XXXX'. For movement type 226 give text = 'YYYY'.
Right click on CONTEXT and create alternative.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Suppose if you have desinged the heading part in the master page
Desing the heading field1 and heading filed 2 on the same location (first field on to the second field)
Select the Event as layout ready and write the below code
IF movement type eq '205' then
$.headingfield1.presence = "visible"(XXX heading)
$.headingfield2.presence = "hidden" (YYY heading)
else
IF movementtype eq '206' then
$.heading2.pressence = "visible". (YYY heading)
$.headingfield1.presence = "Hidden"(XXX heading)
endif
Endif
If it is body page select event as Form Ready
Finally click on the '+' symbol so that code is in active
Finally activate the adobe form execute it. you will get the required output
Regards
Ramakrishna Pathi
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Pathi,
Thanks for your reply but what if for 205 movement type I have to print the form with heading 'xxxx' and 'yyyy' as well.
I missed out that point that for few movement types the form with both the headings should appear one after another and for few movement type it will be the form with only one heading.
Hope I could make it clear this time.
User | Count |
---|---|
90 | |
10 | |
10 | |
10 | |
7 | |
7 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.