How To Display The Last Field Which Is User Selected From Form Builder With The Field Name And Field Type?
I am making the form builder and I have an input field which is called as Firstname, Lastname, Email, Iagree. Whatever user choose the field from the form builder page, all the ele
Solution 1:
Rather than storing form_elements in fom_builder table, store their respective id and then use query something like this
SELECT form_elements_id FROM form_builder
WHERE form_id=1 AND form_builder_type='example' ORDER BY update_date DESC LIMIT 1
Once you get all form elements Id implode it and convert it into array and use whereIn clause to get data from second table.
Post a Comment for "How To Display The Last Field Which Is User Selected From Form Builder With The Field Name And Field Type?"