Viewing 1 replies (of 1 total)
  • Plugin Contributor David Cramer

    (@desertsnowman)

    When editing a field, you’ll see a “Default” setting. When you focus on the field, you’ll see a </> icon appear . click the icon and you’ll see tags that can be used for the default value.

    You can use multiple tags so to show the users name you could use {user:first_name} {user:last_name} as the default value.

    alternately you can use the caldera_forms_render_get_field filter to dynamically add the default value.

Viewing 1 replies (of 1 total)
  • The topic ‘How can I programmatically create default values for my Caldera Forms fields?’ is closed to new replies.