• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
0

Table driven by dropdown options

Community Beginner ,
Feb 21, 2023 Feb 21, 2023

Copy link to clipboard

Copied

Hi everyone! I'm trying to display a list of options to the user depending on which option they select from a dropdown list. 

Ideally, this displayed list is editable by the user (like if they want to update the phone number). The final goal is for the user to be able to submit his selections/edits so that an admin receives this via email. See attached mock-up of what I have in mind. I'm not sure how to tackle this and would appreciate a nudge in the right direction. Thank you for your help in advance!

TOPICS
Code , How to

Views

429

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Feb 21, 2023 Feb 21, 2023

Copy link to clipboard

Copied

Something like this?

https://youtu.be/zAaduTP_VQk

Wappler, the only real Dreamweaver alternative.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Feb 21, 2023 Feb 21, 2023

Copy link to clipboard

Copied

How you get the data in a table will be initially important but one of the amazing things out there you can use at the moment is DataTables: https://datatables.net/
Still runs of jQuery but does have stand alone versions as well these days.
It is a great dynamic front end way to get content, filter it, search it and manipulate the data tables. It has full support for filter dropdowns like you need.
Otherwise you would look to render a list and do more server side solution (Depending on the platform/hosting and languages you have/using) with POST request on an option and displaying results or similar and Ajax requests.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Feb 22, 2023 Feb 22, 2023

Copy link to clipboard

Copied

My initial thoughts would be is this even viable without a lot of extra thinking. You would need to ensure your table of data is responsive to adapt to the max width of email clients which is typically 600px wide.

 

You then somehow have to clone the whole table of data so you can assign it to some kind of server script which can handle html to send it by email.

 

Realistically you are probably looking at a database driven solution to store the information which can be called  by specific  'region' or 'group'. Then updated by those users who are given permission to do so then pass the updated data back into the database at which point you can call the data again and build an html compatible email. 

 

Quite involved, but certainly possible for a skilled coder, if you take all considerations into account

 

 

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Feb 23, 2023 Feb 23, 2023

Copy link to clipboard

Copied

Forming the data options etc on the front end VS what is in the email are different things so the considerations are different. 
I do not think this is that involved either, I would be giving this to one of my Junior Dev's to do.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Feb 24, 2023 Feb 24, 2023

Copy link to clipboard

Copied

LATEST
quote

Forming the data options etc on the front end VS what is in the email are different things so the considerations are different. 
I do not think this is that involved either, I would be giving this to one of my Junior Dev's to do.


By @Liam Dilley

 

A dev at any level should have already attained a  certain level of skill to be employed. If youre coming at it with very little knowledge or you're not a dev then it's going to be problematical.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines