• Resolved TungstenE2

    (@tungstene2)


    Hi all,

    I need support on the following demand.

    I have a table with participants for a meeting.

    By entering a participant you have to select an agent from a drop-down-list.

    Meetings are scheduled on a regular basis at the office of an agent. The order of the agents is rotating in a fixed order.

    This is already working and in place.

    New feature:

    If a meeting was finished, the agent should press in the frontend a button to delete all participants from the table.

    Also that button should move a trigger in the table of agents to the next agent, so it is clear who is next to organize the meeting.

    If the end of the agent list is reached it starts from the top again.

    How can I create such an action button in the frontend with the request functionality using wpdatatables?

    thx
    ?

    ?

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author wpDataTables

    (@wpdatatables)

    Hi there,

    Did you achieve this with wpDataTables Lite? Can you show an example please?

    Thread Starter TungstenE2

    (@tungstene2)

    Yes, but my support expired in October, so I had to adress the question here.
    Example is hatd to share, as it is internal information and personal data may not be shared.

    I realized with a table to enter the participant with contact details and a dropdown for the agent to be choosen.

    I would need to creta e second table with a pointer which agent is next in the schedule.

    Then I would need a button that does trigger two actios:
    – delete all participants from the table 1
    – move the pointer to the next agend in table 2 (if end of table start with 1 record again)

    How can I do this with wordpress and your plugin?

    thx

    Plugin Author wpDataTables

    (@wpdatatables)

    Sorry for the inconvenience, but please note that here we only provide the support for the version that’s hosted on WordPress plugins directory (Lite). For the full version support please use the support forum.

    As for your question: it is possible to achieve with a little bit of custom coding. By default the links as you described aren’t a part of built-in functionality. For cascade deleting can configure MySQL cascade rules, but if I understand right you also want to have some dynamic linking for ‘first available agent’ that could only be achieved with some custom coding.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘deletion of data triggered by frontend button’ is closed to new replies.