Manipulate data presentation

Follow

Comments

12 comments

  • Avatar
    harrywildeboer

    Also this works! Where 00 are digits for a better lay-out

    value="AM:FormatDate([{data:list.dt_txt}],[dd MMM HH:00])"

  • Avatar
    Fernando Sérgio

    current time in UTF => {am:now}

  • Avatar
    Fernando Sérgio

    How can I set background-color if a data-field is equal to some-value ?

  • Avatar
    harrywildeboer

    To set background-color you need a data-field containing i.e. a color name

    You place an image and set the background-color and dimensions you want, you remove the field="", so there is no image, only a background.

    With the next statement you can switch on an off the background-color

    When your field colorname contains the string Black, the background-color is black.

    With FrameLayout you place your content on top of the background.

    For more colors you need more images and more statements.

    <image name="imageblack" height="1000" label="" clickable="false" backgroundcolor="#000000" parallax="100" scaletype="" halign="center" valign="" visible="AM:Equals([{data:colorname}],[Black])"></image>

  • Avatar
    Adaberemchi Aja-Onu

    How is Distance Formated?

  • Avatar
    Johnny Boersma

    Hello,
    Distance is formated in km.

  • Avatar
    Gerard van der Heide

    How to get dd-mm-yyyy HH:mm:ss as currentdate in email subject field in Form(beta) block....??? Can someone help me out. I tried different ways, none worked out.

  • Avatar
    harrywildeboer

    Try this {device:currentdate} it will be effective in the simulator now, and in the previewers after the next update. It is a new feature.

  • Avatar
    Gerard van der Heide

    My emial subject string in the logic of this Form(beta) looks like this:
    @Melden@02590289@etc@etc@
    So, I added {device:currentdate} in between @. No results. I did this a couple of days ago as well with the same results. So, there must be something which I do wrong.........???

  • Avatar
    harrywildeboer

    @ Gerard Dutch? I now understand wat you are doing! You use a Form and Logic! That's not the right combination! I use a screen-blok and logic for testing and then it works well with {device:currentdate}! You can invite me in your app and I will help you! harrywildeboer@gmail.com

  • Avatar
    Gerard van der Heide

    Yeah Dutch Harry. Ik ga het even met de screen proberen. Lukt t niet dan kom ik bij jou terug oke?

  • Avatar
    Michel Kulk

    Is hier al iets over bekend? ik probeer het ook al een poosje maar kom er niet uit.

Please sign in to leave a comment.