Adobe - Shift fields left dynamically

Hello,
if we have in one line on our PDF formular three fields e.g. TITLE, FIRSTNAME, LASTNAME - how could we configure that the third field is shifted left if for example the second field is empty. We require to avoid empty space.
We could concatenate all three informations into one field. But the question is, if there is also a soluton directly in ADOBE Lifecycle Designer?
Thank you
Kind regards
Manfred

Hi,
Wrap all three fields in a subform which is flowed. Use the javascript in the initialize event of the subform to hide the fields which are empty.
If (field.rawValue == null || field.rawValue == "")
    Field.presence = 'hidden';
Thanks & Regards,
Sanoosh

Similar Messages

  • Shift fields left to u201Cfill in the holesu201D

    Hi All,
    I want to optionally include fields in a report, and have the remaining fields shift left to u201Cfill in the holesu201D.  I'm passing a parameter to a formula to determine if I should display fields.  Ordered Date is defined as a formula of;
    if {?pInclude_Dt} = "IncludeDt" then
    {TBLREPORTING_DATA.OrderedDt}
    An example: 
    I'll display 4 fields.  Company Name, OrderedDt, OrderedItm, and price.
    If I pass "IncludeDt" to pInclude_OrderDt,
    I get this result -
    Company Name              Ordered date         Item Ordered           Price
    Acme Restaurant            9/27/2009                14" pan                $25.75
    If I pass "DoNotIncludeDt" to pInclude_OrderDt, the result is -
    Company Name                                            Item Ordered           Price
    Acme Restaurant                                            14" pan                $25.75
    Is there any way to move the fields to the left to fill in the blank?
    I'm using Crystal Reports 2008, and Visual Studio 2008.  (Although, I think the question is independent of Visual Studio.)
    Thanks for the help.

    I use XI R2, so I don't know if 2008 can do that.  I'm pretty sure XI R2 doesn't...  A few ways that I can think of to accomplish this are:
    -  If Order Date is the only optional column, move it to the start (or end) of the line, and the non-display will just look like a bigger margin.
    -  If there are more optional columns, or the order of the fields can't change, you could always build your entire detail line in a formula and print the report using a fixed-width font (such as Courier) so everything stays aligned.  (Not a great suggestion, but it should work reasonably well.)
    -  Worst case, turn this into a cross tab report (which the data is by no means amenable to), then filter out the non-display fields.  This is a worse suggestion than the prior one, IMHO, but again, another option.
    HTH,
    Carl

  • Filter Question 1: Shift Field - when to shift it?

    And by "shift it", I'm really asking in what order to place it, relative to any other filters being applied. And is there a rule of thumb for this particular filter being first or last in the stack?
    The Specific Issue:
    I notice FCP applies the filter automatically when I add HD material to a standard def Timeline (see "Workflow" description below), where the extra material has a different "Field Dominance" than the main footage. This triggers a green render bar, which thankfully doesn't take long to process.
    But I'm starting to see some odd behavior when I then add other filters to one of these clips whose Fields have been automatically Shifted by FCP.
    Specifically, I've been testing MagicBullet's "Noise Reducer" filter on a few of these clips (ones where I've had to magnify the image more than it really wants to be), and once the absurdly long render finally finishes*, the playback of just these clips gets very wonky on my external monitor (with a flashing blue that eventually takes over the whole screen, but only for these clips -- and FinalCut's telling me there's nothing left to render).
    * and this is the subject of a whole 'nother filters-related question I've posted in this same forum
    Interestingly, when I drag the Shift Fields filter from its default top-of-the-stack position in the Viewer down to the bottom, so that it comes after the MB Noise Reducer -- and then wait for another huge render to finish -- now everything seems to play back fine.
    Both filters (FCP's Shift Fields and MB's Noise Reducer) are configured in their default settings, and this apparent conflict with the Shift Fields filter appears to not occur in relation to any other filters I've also been testing (such as Sharpen and Deflicker).
    So -- is this just one of these trial-and-error things, where you keep reordering the filters till they seem happy, or is there a reason why the automatically applied Shift Fields filter should always be last in the stack (even though intuitively it feels like something which should be applied first)?
    Any insights appreciated.
    Thanks,
    John B.
    Toronto
    *Workflow Description*
    (which might be of interest to other one-man-band, tight-budget videographers)
    +I'm currently cutting a series of videos done for a local theatre company. My A-cam is a Sony MiniDV shooting 4:3, and my Timeline is the basic NTSC-DV easy setup. I generally also set up a B-cam at a different angle, which is locked off to get a static shot of the full performing area. This camera is a compact AVCHD unit, shooting at full 1920x1080. I put its material on a separate video track, and when I need to cut to it I use the Motion tab to frame the shot, resize it, and crop in as desired. Sometimes I'll even keyframe a pan and/or slight zoom to give the effect of a human cameraperson following the action live. Since both cameras are recording continuously, I only have to sync up the two tracks once -- and the end product gives a reasonably convincing impression of a two-person shoot.+

    Clearly I need to check in with the Jolly Red Giant himself, since I'm wondering if he's the one I should be pointing my finger at with regard to a bizarre issue I'm encountering: trying to export a previously harmless sequence which now contains clips with two Red Giant / Magic Bullet filters -- all fully rendered, but the Export time is expanding faster than a Supernova.
    Thread is called "Renders Gone Wild", if you have any advice on what I should do.
    Thanks,
    jb

  • Include new field in dynamic selection in fbl1n

    Hi Guys,
    I want to add a new field in dynamic selection in tcode FBL1N.
    Regards,
    H.Sathiskumar

    Hi Sathiskumar,
    Here are general instructions for adding new fields to the dynamic selection:
    1) Call Transaction SE36
    2) Enter logical database DDF, KDF or SDF (for FBL5N, FBL1N, FLB3N)
    3) Menu -> Extras -> selection views
    4) Here you can find 2 origins of the view (SAP and CUS).
       The standard view SAP is used. Create your own using view CUS. First copy the view SAP.
       On the left side are the functional groups.
       01  Customer master  => fields from table KNA1
       02  Company code     => fields from table KNB1
       03  Documents        => fields from table BSID
      Only those fields from these tables can be used for dynamic selection
    5) To get another field from e.g. table KNB1 for the dynamic    selection double click on the right side on
        table KNB1. The field in the lower area will be changed.  Search for the desired field and enter a 03
        in front of the field.  Save.
    6) Test in your report.
      Note: Not every table and field can be used as dynamic selection. It is also necessary that the report
               allows selection for that field."
    Furthermore I suggest You to have a look at the note number 310886 that can be useful.
    Customers: logical database: DDF
    Permitted tables:
    KNA1, KNB1: All fields are permitted that are contained in the VF_DEBI view. If necessary, you have to
                         include additional fields in the view fields category using Transaction SE11.
    I hope this information may help you in resolving the reported issue.
    Regards,
    Emoke

  • Custmer Class. field in dynamic selection of FBL5N not cming in Report

    Hi,
    After selecting Customer Classification field in Dynamic selection of Transaction Code FBL5N and saving it and creating a Variant, this field doesnot come in output of report after execution.
    Can anybody send a reply on this asap.
    Regards
    Bob

    Hi,
    After executing the report in FBL5N, check in the display layout if the same field is available. If it is available include it in the display list (Left side of the pop up screen). Save the layout after including and make it default or user specific as per requirement.
    Hope this helps you.
    Thanks and Regards,
    Anit

  • Can you use scripting to shift fields?

    Is there a way to shift fields up or down using scripting?  Have a form where fields are hidden based on the value of a radio button group.  When the fields are hidden, I want to shift the remaining visible fields up so no gap is present.
    Is this possible?
    Thanks

    I assigned the a variable in the beginning.  Below is the actual script I am using.  It is a combination of my original script and the rect script I found in the reference guides:
    var a = this.getField("costs1");
    var b = this.getField("costs1");
    var aRect = b.rect;
    if (this.getField("radiobutton").value == "Yes") {
    a.display = display.visible;
    aRect[0] += 10; // increment first x-coordinate by 10
    aRect[2] += 10; // increment second x-coordinate by 10
    b.rect = aRect; // update the value of b.rect
    } else {
    a.display = display.visible;
    aRect[0] -= 50; // increment first x-coordinate by 10
    aRect[2] -= 50; // increment second x-coordinate by 10
    b.rect = aRect; // update the value of b.rect
    This moves the field left or right depending on the radiobutton value (yes/no).  How do I set it to move it up or down?  Is there a "set" property I should be using for the X and Y coordinates?
    Thanks for the assistance.

  • How to make numbers in message text input  fields left aligned?

    Hi Friends
    I have completed one of my task .but getting result right side of the field.
    how to make numbers in message text input  fields left aligned?
    Thanks
    Aravinda

    Hi ,
    Sorry for late replay i am trying this alos not set that page....
    pageContext.forwardImmediatelyToCurrentPage(null, true, null);
    and one more that kff field working is fine for ex display any text pled displayed properly and only problem is not set the value and HrSitKeyFlex6 and HrSitKeyFlex7 fields are perfectly get the values but not pront HrSitKeyFlex8 that only my issue....
    Regards,
    Srini

  • Not able to use Shift field and Shift Grouping field while using OPK0

    Hi,
    I am using the SAP ECC 6.0 Enhancement Pack-4,
    In Transaction 'OPK0' while confuguring the default value for shift in the *Default* Tab, i am getting the 'Shift - field:SHIFT_PROP('Proposal Shift for Single-Screen Entry') and Shift Grouping, in Display mode, i have also tried to configure it with SAP4all  authorization, but still it was in Non editable mode.
    Also i tried applying Note:1177952, but was not able to apply the same, as we are already using Enhancement pack-4.
    let me know the solution to the above problem.
    Best Regards
    Vijay

    Hi Vijay,
    please follow the link given below and check whether the business function LOG_PP_SRN_CONF is activated or not?
    http://help.sap.com/erp2005_ehp_03/helpdata/EN/e9/dc4715919d4245a9416c668b66133c/content.htm
    Regards,Kundan

  • How to change the text of a user defined field in dynamic selections?

    Logical Database PSJ is used by t code CJI3 - we added a couple of user fields into the dynamic selections of CJI3.
    Now - how to change the text of this user filed (USR01 of structure PRSP_R in logical database PSJ)?
    Found an OSS note - 86980 - that tells that this is not possible.
    But when we read the documentation on the user field (CJI3 - dynamic selections  - double click on user field - F1), it shows the following text:
    User-defined field in which you can enter general information with a length of up to 20 characters.
    Dependencies
    The names (key words) for  user-defined fields depend on the field key.
    Now the question is where to change the field key..
    Thanks,
    Ven

    Madhu - you did not get the question I think.
    Anyways - I found an OSS note 1266643 - this code change should take care of the issue - it will then reflect the details maintained in custoizng at transaction code OPS1..
    Thanks,

  • Addition of field for Dynamic Selection in TCode FBL1N

    Hi,
    We have a requirement to add the field Partner Bank Type in TCode FBL1N on clicking dynamic selection button (under vendor master) in TCode FBL1N. To achieve this we went to TCode SE36 (Logical database) and selected logical databse KDF and then seleted selection views from the extras menu. There we have selected the table LFBK and then entered 01 (function group for Vendor Master) in the box next to the field BVTYP and selected the checbox on the right of BVTYP to enable Preselection. Saved the changes.
    However the field  Partner Bank Type does not show in the dynamic selection in TCode FBL1N under Vendor Master. Please help.
    Thanks in advance.
    Mick

    Thanks Miguel.
    I found this on the web:
    http://joyjitghosh.blogspot.com/2009/05/how-to-add-new-fields-in-dynamic.html
    I have done exactly as per the instructions given in the above link, but still I am unable to see the field in the dynamic selections of TCode FBL1N. Any reason why and how can we add the field in the dynamic selections?
    Mick

  • Why is the Video Filter "Shift Fields" Automatically being added to my clips?

    In the timeline, I've been noticing that FCP is randomly adding the "Shift Field" video filter to about 75% of all my clips in the timeline.
    Is this common?
    JS

    Rienk wrote:
    I noticed that this Shift Field filter is going crazy if you copy footage from a sequence to another with different Field orders.
    I don't think in my case FCP has ever wrongly applied the filter when I just was editing from the Viewer to the Canvas. Only when copying footage from sequence to sequence, I discoverd problems.
    By the way. You can select all the 'faulty' clips and choose Conform to Sequence from the menu, and al should be right...
    Rienk
    Good points, all. Thanks for your contribution, Rienk.
    "Conform to Sequence" is a function I have never used, did not know it even existed, thanks for that, too.
    bogiesan

  • Column values shift towards left for null values when export to excel

    Post Author: pssuresh
    CA Forum: Exporting
    All,
    I have a strange problem when using crystal report 10 export through C# Code. Consider in a row there are 3 columns and i am exporting to excel. ex.Student_id,Student_name,Student_Section. If Student_name values are null, then student_section values get displayed under student_name. There is a column shift towards left when there are null values. If anybody has already faced this problem, please post ur answer.
    Note:  When i just export to excel directly from crystal report, it works fine. i face problem only when i export through .Net code. I guess it is the problem with some formatting through code. if any body has fix, let me know.
    Thanks,
    Suresh.P.S

    Post Author: pssuresh
    CA Forum: Exporting
    Thanks for your reply. Even i have done the same thing yesterday to solve that problem. But we have nearly 100 of reports and started migrating now. The best solution crystal reports suggest is this.
    http://support.businessobjects.com/library/kbase/articles/c2014430.asp
    Thanks,
    Suresh.P.S

  • Shifting field contents in an internal table

    is there any way to shift field contents from one field to another in an internal table
    for eg.
    itab
    fieldA(1)-fieldB(10)
    1--20000--
    2--20001---
    final itab
    fieldA(1)-fieldB(10)
    1--120000---
    2--220001---
    i need to use LOOP to do this. is there any other way to achieve this WITH OUT A LOOP?
    Thanks,
    ravi.

    I wouldn't really call this a shift, because you are keeping the value of fielda.  If fielda were to be blank, then you could "shift" all at one time without a loop.
    For example.
    Data: begin of itab occurs 0,
          fielda(1) type c,
          fieldb(10) type c,
          endo of itab.
    Data: begin of itabf occurs 0,
          fieldb(10) type c,
          endo of itabf.
    itabf[] = itab[].
    I think that the final itab would look like this.
    <b>fieldb</b>
    120000
    220001
    But, of course, this is not your requirement, so I think that you need to do a loop to "copy" the first value in to fieldb.
    Data: begin of itab occurs 0,
          fielda(1) type c,
          fieldb(10) type c,
          endo of itab.
    Data: begin of itabf occurs 0,
          fielda(1) type c,
          fieldb(10) type c,
          endo of itabf.
    Loop at itab.
    itabf-fielda = itab-fielda.
    concatenate itab-fielda itab-fieldb
             into itabf-fieldb.
    condense itabf-fieldb no-gaps.
    append itabf.
    endloop.
    Regards,
    Rich Heilman

  • Add certain field at dynamic selection screen in FBL3N transaction

    Hello Expert,
    I would like to add entry date field (BKPF-CPUDT) at dynamic selection screen in FBL3N transaction.
    So, I went to SE36 transaction and changed something in selection view for SDF.
    However, it didn't work.
    Is there anyone who knows how to add a certain field at dynamic selection screen in FBL3N transaction?
    Thanks in advance.
    BR,
    Chris Kim

    Hi
    Refer to the following thread
    Additional field selections in FB03
    It talks about adding Header Text field
    You should be able to add entry date similarly
    Regards
    Sach!n

  • How to get the class name and field name dynamically

    Hi
    I have a class (ex: Contract) the fields (ex : a,b,c) .i need to get the class name and field name dynamically
    ex
    if( validation file for the field Contract.a){
    return contract.a;
    }else if(validation file for the field Contract.b){
    return contract.b;
    how to pass the field name and object dynamically
    Please help me .............
    Thanks in Advance..
    Edited by: 849614 on Aug 11, 2011 6:49 AM

    YoungWinston wrote:
    maheshguruswamy wrote:
    Agreed, but IMO, i still feel its best if there is no tie in between consumer class level details and the database it talks to. A service layer is needed in between them.Sounds like you've done a bit of this before. Me, I've either been a modeller/DBA, doling out data, or a nuts and bolts programmer (and actually more toolmaker than apps, but did a bit of that too).
    Do you know of a good book about the "middle ground" (ie, these service layers)? I understand it empirically, but haven't had a lot of exposure to it.
    Winston
    Edited by: YoungWinston on Aug 11, 2011 10:34 PM
    PS: Apologies. Edited my previous post, presumably while you were composing your reply, when I finally realized what '.filed' meant.Most of my work is in web development, never been a DBA :) . The biggest 'concern' in my shop is 'separation of concerns'. The UI group reports up to a different IT head, the DB group reports up to a different IT head and so on. The looser the coupling between these systems, the lesser the project costs (Integration, QA etc) are. Martin Fowler's books contain good information about separation of concerns in an enterprise environment. The two books which i recommend are
    [url http://www.amazon.com/Patterns-Enterprise-Application-Architecture-Martin/dp/0321127420]Enterprise Application Architecture and
    [url http://www.amazon.com/Enterprise-Integration-Patterns-Designing-Deploying/dp/0321200683/ref=pd_sim_b_1]Enterprise Integration Patterns

Maybe you are looking for

  • Quick NativeWindow questions.

    Hi, Two Quick Questions about native window actions (I am using AIR with HTML and JS): 1. How do you "refer" to minimize button ? - So, when a user clicks minimize, it should do an action defined in javascript. 2. How to define click event for System

  • Can somebody help me please

    Whenever I go to open itunes this happens can someone help me? it says "This version of iTunes has not been correctly localized for this language. please run the English version." ?

  • Async to Sync interfaces.

    Hi all, We have  IDOC(Async) -> SOAP (Sync) -> Proxy(Aync) interface requirement. Can anyone please suggest if it can be done without BPM?

  • IPhoto 5.0.4 will not load

    I currently have a ibook G4 with Mac OS X version 10.4.11.  It came with iPhoto 5.0.4 and up until the past two days I have not experienced any problems.  However currently the program will not load.  When I open it states it is loading the photos.  

  • Converting a JPG into a stationary

    Is it possible to take an EPS / JPG / PDF file and convert it into a stationary? I managed to do that, but without the ability to enter text in this mail. How can I create a kind of "text box" same as in the pre-installed stationaries?