ChronoForm v6 Dropdown list, delete dataset

delete a specific dataset using a dropdown selection in ChronoForms.

Overview

The issue is not knowing how to configure the delete conditions to match the selected dropdown value.
In the Delete Data action, set the condition where the table field equals the dropdown value using the format table_field_name = {data:dropdown_name}.

Answered
ChronoForms v6
lu luken 14 Oct, 2020
Hey there,

I am trying on deleting a special dataset from my table using a dropdown list and a submit button.

My table is like:
id, name, country


The dropdown shows the id's. That works so far.
Now I like to delete the whole dataset (the whole "row" of my table) where the selected id relates to when clicking on a submit button.
I am using the "Delete Data" in the action's area ("on submit") but I don't know how to configure the "value"-field of the delete conditions.

Can anybody help me?
Max_admin Max_admin 19 Oct, 2020
Answer
1 Likes
I would recommend you use v7, the conditions should be setup like this:

table_field_name = {data:dropdown_name}
Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
Post a Reply