Support

Account

Home Forums Pre-purchase Questions fileds combination

Solving

fileds combination

  • Hi,
    I would like to create a custom field mixing 2 other fields. In my case I have a date field which I would like to be colored with a color field. I need to mix them because the table I use to display the results (post table pro) needs custom fields (meta data) to be placed into the shortcodes (One column per field).
    I tried to create a text field with default content like this :
    <p style="background-color:<?php the_field('mycolorfiled'); ?>"><?php the_field('mydatefield'); ?></p>
    But it doesn’t work…
    Do I need the Pro version to accomplish this ? Can you lead me to a solution please ?
    Regards

  • This will not work because you cannot run PHP in a text field

Viewing 2 posts - 1 through 2 (of 2 total)

The topic ‘fileds combination’ is closed to new replies.