# Help is needed with Set Widget Value action

**URL:** <https://forum.sambapos.com/t/help-is-needed-with-set-widget-value-action/2789>\
**Category:** V4 Question\
**Created:** [September 28, 2014, 9:44pm UTC](https://forum.sambapos.com/t/help-is-needed-with-set-widget-value-action/2789 "2014-09-28T21:44:00Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![pizzaeilat4](https://forum.sambapos.com/user_avatar/forum.sambapos.com/pizzaeilat4/32/461_2.png) [@pizzaeilat4](https://forum.sambapos.com/u/pizzaeilat4)\
**Post date:** [September 28, 2014, 9:44pm UTC](https://forum.sambapos.com/t/help-is-needed-with-set-widget-value-action/2789/1 "2014-09-28T21:44:01Z")

</div>

Hello everybody,  
I use this action to enter this site [http://reports.mishloha.co.il/login.phpsite](http://reports.mishloha.co.il/login.phpsite) using the HTML Viewer, And it does work but  
Is there a way to enter the site and automatically fill in username and Password using the **Set Widget Value action**?  
Something like **[http://reports.mishloha.co.il/login.php](http://reports.mishloha.co.il/login.php)\>username\>password\>go…**  
Thanks in advance 😊

---

<div class="post-metadata">

**Author:** ![Jesse](https://forum.sambapos.com/user_avatar/forum.sambapos.com/jesse/32/61493_2.png) [@Jesse](https://forum.sambapos.com/u/Jesse)\
**Post date:** [September 28, 2014, 9:45pm UTC](https://forum.sambapos.com/t/help-is-needed-with-set-widget-value-action/2789/2 "2014-09-28T21:45:52Z")

</div>

To get that to work you would need to alter some code on the website. In particular how the PHP handles logins.

---

<div class="post-metadata">

**Author:** ![pizzaeilat4](https://forum.sambapos.com/user_avatar/forum.sambapos.com/pizzaeilat4/32/461_2.png) [@pizzaeilat4](https://forum.sambapos.com/u/pizzaeilat4)\
**Post date:** [September 28, 2014, 9:54pm UTC](https://forum.sambapos.com/t/help-is-needed-with-set-widget-value-action/2789/3 "2014-09-28T21:54:04Z")

</div>

thenks @Jesse for the Fast response,  
Can you please enter this site and check how the php of This site handles logins?  
maybe you can understand from the website which code I have to send using the Set Widget Value action?  
I have been trying for hours ☹

---

<div class="post-metadata">

**Author:** ![emre](https://forum.sambapos.com/user_avatar/forum.sambapos.com/emre/32/39073_2.png) [@emre](https://forum.sambapos.com/u/emre)\
**Post date:** [September 28, 2014, 10:53pm UTC](https://forum.sambapos.com/t/help-is-needed-with-set-widget-value-action/2789/4 "2014-09-28T22:53:22Z")

</div>

Try

```
....hloha.co.il/login.php?rest_id=[id]&password=[password]

```

`[id]` will be a id number for your account and `[password]` will be your password.

That’s all we can see from our side. Maybe you should contact webmaster for better information.

---

<div class="post-metadata">

**Author:** ![Jesse](https://forum.sambapos.com/user_avatar/forum.sambapos.com/jesse/32/61493_2.png) [@Jesse](https://forum.sambapos.com/u/Jesse)\
**Post date:** [September 28, 2014, 11:26pm UTC](https://forum.sambapos.com/t/help-is-needed-with-set-widget-value-action/2789/5 "2014-09-28T23:26:17Z")

</div>

Often they will not allow that sort of authentication because it would be too easy to break and is a huge security risk. Most systems are setup so you can auto fill the username and password but it will not actually authenticate it, you still have to press log in.

I know I would never allow that for a website hooked up to internet. I might if its an internal site not hooked to web or if its something I’m not too worried about security.

---

<div class="post-metadata">

**Author:** ![pizzaeilat4](https://forum.sambapos.com/user_avatar/forum.sambapos.com/pizzaeilat4/32/461_2.png) [@pizzaeilat4](https://forum.sambapos.com/u/pizzaeilat4)\
**Post date:** [September 28, 2014, 11:54pm UTC](https://forum.sambapos.com/t/help-is-needed-with-set-widget-value-action/2789/6 "2014-09-28T23:54:17Z")

</div>

@emre,  
Thank you very much for your help, unfortunately it did not work.  
@kendash,  
I use RoboForm to enter and it works then probably this site allows autologin

 ![](https://forum.sambapos.com/uploads/default/original/3X/e/8/e86f98eddee60c9eeacd7f1981a4f5be476c42a5.jpeg)

---

<div class="post-metadata">

**Author:** ![Jesse](https://forum.sambapos.com/user_avatar/forum.sambapos.com/jesse/32/61493_2.png) [@Jesse](https://forum.sambapos.com/u/Jesse)\
**Post date:** [September 29, 2014, 1:53am UTC](https://forum.sambapos.com/t/help-is-needed-with-set-widget-value-action/2789/7 "2014-09-29T01:53:00Z")

</div>

It just depends. RoboForm is accessing it differently, more than likely through an API. What you are wanting to do is different. I can not tell you anything more than what @emre has already shared. You would have to find out from the webmaster.

---

<div class="post-metadata">

**Author:** ![emre](https://forum.sambapos.com/user_avatar/forum.sambapos.com/emre/32/39073_2.png) [@emre](https://forum.sambapos.com/u/emre)\
**Post date:** [September 29, 2014, 1:55am UTC](https://forum.sambapos.com/t/help-is-needed-with-set-widget-value-action/2789/8 "2014-09-29T01:55:21Z")

</div>

… additionally the purpose of roboform and our html widget are different. Roboform sounds useful to automate data submissions to websites. Html widget is only a web page viewer.

---

<div class="post-metadata">

**Author:** ![pizzaeilat4](https://forum.sambapos.com/user_avatar/forum.sambapos.com/pizzaeilat4/32/461_2.png) [@pizzaeilat4](https://forum.sambapos.com/u/pizzaeilat4)\
**Post date:** [September 29, 2014, 8:03am UTC](https://forum.sambapos.com/t/help-is-needed-with-set-widget-value-action/2789/9 "2014-09-29T08:03:47Z")

</div>

Okay, thank you very much @emre & @Jesse  
I will appeal to the Site Manager  
I really appreciate your help

---

<div class="post-metadata">

**Author:** ![pizzaeilat4](https://forum.sambapos.com/user_avatar/forum.sambapos.com/pizzaeilat4/32/461_2.png) [@pizzaeilat4](https://forum.sambapos.com/u/pizzaeilat4)\
**Post date:** [September 29, 2014, 3:16pm UTC](https://forum.sambapos.com/t/help-is-needed-with-set-widget-value-action/2789/10 "2014-09-29T15:16:21Z")

</div>

> [@emre](#):
>
> Roboform sounds useful to automate data submissions to websites. Html widget is only a web page viewer.

If we know what the script uses RoboForm we can imitate him.  
Maybe someone has an idea how RoboForm works?

---

<div class="post-metadata">

**Author:** ![Jesse](https://forum.sambapos.com/user_avatar/forum.sambapos.com/jesse/32/61493_2.png) [@Jesse](https://forum.sambapos.com/u/Jesse)\
**Post date:** [September 29, 2014, 3:25pm UTC](https://forum.sambapos.com/t/help-is-needed-with-set-widget-value-action/2789/11 "2014-09-29T15:25:14Z")

</div>

Can you clear something up for me. Are you wanting it to just insert the Login and Password or are you wanting it to insert them AND execute the login?

Roboform is a password manager that can auto fill passwords from the looks of it. It also performs the equivalent of a button press for the login. I am not sure exactly how it is programmed to work but it looks like to me it is probably simulating pressing enter after filling in login/password.

---

<div class="post-metadata">

**Author:** ![pizzaeilat4](https://forum.sambapos.com/user_avatar/forum.sambapos.com/pizzaeilat4/32/461_2.png) [@pizzaeilat4](https://forum.sambapos.com/u/pizzaeilat4)\
**Post date:** [September 29, 2014, 3:48pm UTC](https://forum.sambapos.com/t/help-is-needed-with-set-widget-value-action/2789/12 "2014-09-29T15:48:08Z")

</div>

i need just insert the Login and Password

---

<div class="post-metadata">

**Author:** ![Jesse](https://forum.sambapos.com/user_avatar/forum.sambapos.com/jesse/32/61493_2.png) [@Jesse](https://forum.sambapos.com/u/Jesse)\
**Post date:** [September 29, 2014, 4:31pm UTC](https://forum.sambapos.com/t/help-is-needed-with-set-widget-value-action/2789/13 "2014-09-29T16:31:21Z")

</div>

It is probably just using windows password remember option.

Try something like  
`http://reports.mishloha.co.il/login.php#!user_name=ID&password=PASSWORD`

It probably needs to be in Hebrew but that might work if its HTML5

---

<div class="post-metadata">

**Author:** ![QMcKay](https://forum.sambapos.com/user_avatar/forum.sambapos.com/qmckay/32/27925_2.png) [@QMcKay](https://forum.sambapos.com/u/QMcKay)\
**Post date:** [September 29, 2014, 5:11pm UTC](https://forum.sambapos.com/t/help-is-needed-with-set-widget-value-action/2789/14 "2014-09-29T17:11:32Z")

</div>

Looking at the JS code from that site (`/js/site/login.js`), the User Field is either `rest_id` (as @emre mentioned this would be an ID like a number) or `username`. Roboform seems to indicate it is `username`. The Password field is simply `password`.

Even if Roboform can accomplish the task, I doubt you will be able to accomplish auto-login by passing values in the URL. When you do that, it is called a GET, and most password forms (including the one on your site) use a POST method for exactly that reason: security. When using POST, it will ignore the values passed in the URL, unless the script is set up to check them.

---

<div class="post-metadata">

**Author:** ![pizzaeilat4](https://forum.sambapos.com/user_avatar/forum.sambapos.com/pizzaeilat4/32/461_2.png) [@pizzaeilat4](https://forum.sambapos.com/u/pizzaeilat4)\
**Post date:** [September 29, 2014, 6:03pm UTC](https://forum.sambapos.com/t/help-is-needed-with-set-widget-value-action/2789/15 "2014-09-29T18:03:07Z")

</div>

Thenks guys,  
RoboForm does not passing values in the URL its Probably using a script  
Maybe there is a way to build a script specifically for this site?  
But I do not know how to write a script, Perhaps can anyone help?  
At the same time I’m trying to find a solution on Google.  
I know it’s not related to this forum and I really appreciate the help  
Thank you all.

---

<div class="post-metadata">

**Author:** ![Jesse](https://forum.sambapos.com/user_avatar/forum.sambapos.com/jesse/32/61493_2.png) [@Jesse](https://forum.sambapos.com/u/Jesse)\
**Post date:** [September 29, 2014, 6:13pm UTC](https://forum.sambapos.com/t/help-is-needed-with-set-widget-value-action/2789/16 "2014-09-29T18:13:09Z")

</div>

I am not expert on this @QMcKay is more knowledgable than me with these things, however it is my experience that its not as simple as just using a script. The server side code your website is using would need to be setup to recognize the method your using this would include any scripts.

I am not sure how Roboform is doing it there are numerous methods including simulating a keyboard click of Enter key which if this is the case then it would be impossible to do what you want with HTML widget…

Or it could be interacting with an API (Doubtful since Roboform is a third party Password manager)

---

<div class="post-metadata">

**Author:** ![QMcKay](https://forum.sambapos.com/user_avatar/forum.sambapos.com/qmckay/32/27925_2.png) [@QMcKay](https://forum.sambapos.com/u/QMcKay)\
**Post date:** [September 29, 2014, 6:28pm UTC](https://forum.sambapos.com/t/help-is-needed-with-set-widget-value-action/2789/17 "2014-09-29T18:28:09Z")

</div>

The login form has a checkbox called Remember Me … does it not work for the password?

I would imagine Roboform is hooking into the Browser somehow (addon? extension?)…

---

<div class="post-metadata">

**Author:** ![Jesse](https://forum.sambapos.com/user_avatar/forum.sambapos.com/jesse/32/61493_2.png) [@Jesse](https://forum.sambapos.com/u/Jesse)\
**Post date:** [September 29, 2014, 6:34pm UTC](https://forum.sambapos.com/t/help-is-needed-with-set-widget-value-action/2789/18 "2014-09-29T18:34:44Z")

</div>

That would make sense… it probably installs its own extension to the browser on install. The website was not very descriptive with how it actually works.

---

<div class="post-metadata">

**Author:** ![pizzaeilat4](https://forum.sambapos.com/user_avatar/forum.sambapos.com/pizzaeilat4/32/461_2.png) [@pizzaeilat4](https://forum.sambapos.com/u/pizzaeilat4)\
**Post date:** [September 29, 2014, 7:10pm UTC](https://forum.sambapos.com/t/help-is-needed-with-set-widget-value-action/2789/19 "2014-09-29T19:10:48Z")

</div>

> [@QMcKay](#):
>
> The login form has a checkbox called Remember Me … does it not work for the password?

It works but I have two accounts and I have to enter each time with a different account

---

<div class="post-metadata">

**Author:** ![QMcKay](https://forum.sambapos.com/user_avatar/forum.sambapos.com/qmckay/32/27925_2.png) [@QMcKay](https://forum.sambapos.com/u/QMcKay)\
**Post date:** [September 29, 2014, 7:44pm UTC](https://forum.sambapos.com/t/help-is-needed-with-set-widget-value-action/2789/20 "2014-09-29T19:44:39Z")

</div>

Place 2 HTML Widgets on the screen, or make 2 screens with a Widget on each? I assume that would work since I believe each Widget runs in it’s own session.

[Next page](https://forum.sambapos.com/t/help-is-needed-with-set-widget-value-action/2789.md?page=2)
