Hello,
I have a repeater with a list of members associated with a dataset.
I put buttons to make an alphabetical index.
I wrote a function that displays the results in the repeater according to the button clicked (button A, button B, etc …)
Here is the code of the function:
I feel like I’m going to overdo it a bit …
The code works perfectly well with your indications. Cool.
But I would also like to be able to display all the members when the user clicks on the “all” button (‘Tout’ in French). But I don’t know how to do that, unless there is a generic character that I can use with my “Filter” function Like " ***** " example
“export function ba_click (event) {filtering (” ***** ");}? but it doesn’t work as it seems.
Attached is an excerpt from my page
I also have another problem:
My repeater works fine with its alphabetical index but I don’t know how to link each item to its individual dynamic page.
Initially it worked with the dynamic “All” page generated by wix. But since I replaced the content offered in the “All” page with my repeater, the links no longer work.
Merci JD , l’annulation de filtre marche parfaitement.
Si je comprends bien, tu parles français. Donc inutile que je m’embête à traduire en anglais. Ouf ça m’arrange bien.
Pour la deuxième question je reformule :
En fait je n’arrivais pas à faire le lien entre les “membres” de la page dynamique (All) avec les éléments individuels (fiche). Mais j’ai résolu le problème en ajoutant un bouton dans le répéteur et en établissant le lien avec "Membre(fiche).
Qui je comprends un petit-peux, mais pas oublier que cet forum est en anglais!
Tu peux ajouter ton text en francais, mais pas oublier de faire la meme traduire in anglais, pour ne pas enfreindre les règles du forum
So, also never forget to translate your texts into english, so everybody can understand what you are talking about
I’m trying to do a simple string comparison but I don’t know which javascript language elements are accepted by “Velo”.
For example: extract a substring with “substr” or “substring” ?
A test like the one below is not accepted:
Where can I find a glossary of accepted key words?
I searched in the “VeloReférence” but I did not find?
J’essaye de faire une simple comparaison de chaine mais je ne sais pas quels éléments du langage javascript sont accéptés par “Velo”.
Par exemple : extraire une sous chaines avec “substr” ?
Un test comme celui ci-dessous n’est pas accépté :