Hello guys,
Container Wizard.
Easy, question. How to replace 1 - 2 - 3 - 4 - 5 etc..to Text?
A - B - C - D - E
- Plumsail Forms: v3.6.7
- SharePoint Online
Thanks in advance
Stepan
Hello guys,
Container Wizard.
Easy, question. How to replace 1 - 2 - 3 - 4 - 5 etc..to Text?
A - B - C - D - E
Thanks in advance
Stepan
Hi @StepanS,
You can replace the numbers with icons as described here. For letters, I can suggest this approach:
const replacements = {
1: 'A',
2: 'B',
3: 'C',
4: 'D'
};
fd.spRendered(() => {
for (const [number, letter] of Object.entries(replacements)) {
$('.wizard-icon').filter(function () {
return parseInt(this.innerHTML) == number;
}).text(letter);
}
});
Let me know if this helps.