Re: 2 diffrent value on 2 field with the same calss name

144 views
Skip to first unread message
Message has been deleted
Message has been deleted

Autofill Extension

unread,
Feb 10, 2022, 8:55:21 PM2/10/22
to Autofill Extension
Can you provide the HTML code for this field?

On Thursday, February 10, 2022 at 5:29:26 PM UTC-8 Miloo Smith wrote:
and i tried put label on name but it didn't work

On Friday, February 11, 2022 at 4:51:45 AM UTC+3:30 Miloo Sarani wrote:
Hi,How can i put 2 different values on 2 field with same calss ?
the input id is dynamic and changed every time the page reloaded,i set autofill it put value on the both field and i can't do nothing for second value
Message has been deleted

Miloo Smith

unread,
Feb 10, 2022, 9:49:38 PM2/10/22
to Autofill Extension
can i email to you?

Autofill Extension

unread,
Feb 11, 2022, 3:14:32 AM2/11/22
to Autofill Extension
Yes: tom @ the domain in the footer of Options page.

Autofill Extension

unread,
Feb 11, 2022, 6:18:18 PM2/11/22
to Autofill Extension
Miloo, let's say you have two inputs with these identical text inputs with ids that constantly change, preventing you from using id for Name:

<input placeholder="1234/56/78">
<input placeholder="1234/56/78">

You can still autofill them using a JavaScript rule, like this:

Type = JavaScript
Value =

let inputs = document.querySelectorAll('input[placeholder="1234/56/78"]');
// First input
if (inputs[0]) inputs[0].value = '2022/02/01';
// Second input
if (inputs[1]) inputs[1].value = '2022/02/02';
Message has been deleted

Miloo Smith

unread,
Feb 11, 2022, 6:37:27 PM2/11/22
to Autofill Extension
Nice ...Thanks Tom really Thanks
Reply all
Reply to author
Forward
0 new messages