WordPress.org

Support

Support » Plugins and Hacks » [Plugin: Cimy User Extra Fields] dynamic fields

[Plugin: Cimy User Extra Fields] dynamic fields

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author Marco Cimmino
    Member

    @cimmo

    Maybe using JavaScript/jQuery? Your rules, your power!

    carblanco
    Member

    @carblanco

    Ok Marco, I’m talking using your plugin. Can I add javascript?

    Plugin Author Marco Cimmino
    Member

    @cimmo

    I don’t want to add such feature, because over complicates the ui which is already not super simple and even worse the code.

    But what you can do is to add 3 fields let’s say:
    A: cost
    B: amount
    C: total

    and with a simple JS you can pre-file C with A*B (or whatever you want), add the JS in the included javascripts using a simple WP hook called: wp_register_script and wp_enqueue_script.

    As said: your rules, your power!

    carblanco
    Member

    @carblanco

    Ok, but I can’t use the hook with your plugin, right?
    I’m considering two options: formassembly and gravity forms.

    Plugin Author Marco Cimmino
    Member

    @cimmo

    My plug-in already uses those hooks, they are WordPress generic hooks, not sure I understand your question.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘[Plugin: Cimy User Extra Fields] dynamic fields’ is closed to new replies.