Code - Variable If Else


I’m trying to do a very simple code.

If the number has 10 digits, insert a 9. If not, do nothing.

It happens that I can’t use the variables that I set and I can’t use the If/Else function.

Can someone can help me, please?


Hi @Fabio_Santos1

If I understood correctly, this is the answer to your question.

for (const item of $input.all()) {
if (“10”) {
else if (!=“10”) {

return $input.all();

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.