• arr0w

    (@arr0w)


    I have a number of [pdb_record] shortcodes on the same page with different fields showing.
    Each shortcode outputs a submit/save button – Is i possible to make a global save button which targets all records on submission?

    This might be a weird question because of the purpose of the plugin – But I might have used it on a whole new level.

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author xnau webdesign

    (@xnau)

    With a setup like that, you’ve got several separate forms on a page, so submitting them all at once would be quite complicated.

    Perhaps a better way to set up a page like this is to use a custom template that uses the field groups to create your desired layout instead of using several record shortcodes as you’re doing.

    It’s also possible, if a bit complicated, to use 3 different custom templates, one for the first group, one for the last, and a third for all the middle ones. This way, you can set it up so that there is only one form header and only one form footer and submit button.

    Thread Starter arr0w

    (@arr0w)

    Thank you – I think I’ve found a good way to perform it.

    Btw, is it possible to enable a readonly field on the frontend?
    I’ve tried doing it trough jquery, but I don’t think the server allows it on submission.

    • This reply was modified 8 years ago by arr0w.
    Plugin Author xnau webdesign

    (@xnau)

    Readonly fields are not allowed to be updated by non-admin users on the frontend. This is to keep people from spoofing the subnmission to change a readonly value.

    Thread Starter arr0w

    (@arr0w)

    I only want specific admin roles to be able to edit readonly fields.
    At this moment, both admin and non-admin users doesn’t have access to change the fields on the frontend. Could I somehow change this?

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Global save/submit button’ is closed to new replies.