• Resolved Nokaa

    (@nokaa)


    Hi,

    I wonder if it was possible to add or change the id of the form that is used in the shortcode ?

    I’ve a lot of forms that need to be called in a template of a lot of posts, the content depends on a specific term like “A01”, “A02” etc. I want to use thoses terms as ID for my forms in order to call a variable in the shortcode in the template file.

    Thank you in advance.

    • This topic was modified 9 years ago by Nokaa.
Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Takayuki Miyoshi

    (@takayukister)

    I’m not sure if I understand your situation, but I guess these might be helpful:

    Thread Starter Nokaa

    (@nokaa)

    Hm… No it can’t really help. :/

    I think the only way I can do what I need is by being able to change the “id” of a form (the back-end id, not the front-end id). Actually they’re generated automatically when saving a new form, and there’s no way to change them.

    Thank you anyway.

    • This reply was modified 9 years ago by Nokaa.
    Thread Starter Nokaa

    (@nokaa)

    Oops, can’t edit.
    I created a little plugin with tons of cases in a switch that connect CF ids with my terms, it was longer but my problem is resolved.

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Custom id in shortcode ?’ is closed to new replies.