I have a database that contains Names, emails, phone numbers and other information. I have created a page that displays those information through a repeater and a table. However, I would like some advice on how I can select one “row” or one “repeater” that display one contact information so I can send an email.
In other words, I am trying to create a table (or a repeater or…) where information from a database is displayed. One of those fields is an email. When clicking that box I would like it to retrieve the email address to be the recipient of my email.
No not necessarily. My objective is the following:
i have a database that contains the names and emails of contacts (not members)
i want to create a page where i can display those contact information (emails and names) (maybe through a table?) and find a way whereby i can select multiple contacts on that page from the first database to send them emails.
Maybe this screenshot will help. Basically I am trying to find a way, maybe export function table1_rowSelect(event, $w) {
So every time i can click on a row, the email values will be added to that input field.
$w.onReady( function () {
$w(“#recipients”).value = ‘’;
});
export function table1_rowSelect(event, $w) {
$w(“#table1”).onRowSelect( () => { let rowData = event.rowData; let rowIndex = event.rowIndex;
} );
}
I wrote this trying to retrieve the email data on select row to add it in the Input field below the table. I want to select multiple rows to retrieve multiple emails.