# Web Form Submit

**URL:** https://forums.plex.tv/t/web-form-submit/35021
**Category:** Dev/API Corner
**Tags:** plugin-dev
**Created:** [May 28, 2013, 10:47pm UTC](https://forums.plex.tv/t/web-form-submit/35021 "2013-05-28T22:47:49Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![streammonkey](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/streammonkey/32/5894_2.png) [@streammonkey](https://forums.plex.tv/u/streammonkey)
#### Post date: [May 28, 2013, 10:47pm UTC](https://forums.plex.tv/t/web-form-submit/35021/1 "2013-05-28T22:47:49Z")

</div>

When using the **submit=** call in a plugin and you're passing values to the web form, do you use the web form field's **name=** or **id=** portion?

&nbsp;

**Web form fields**

&nbsp;

&nbsp;

&nbsp;

**Plug-in Code**

values=dict(successRedirect = "[https://secure.mlb.c...wizard&c\_id=mlb](https://secure.mlb.com/enterworkflow.do?flowId=registration.ajax.wizard&c_id=mlb "External link")",  
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; emailAddress = Prefs['mlb\_user'],  
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; password = Prefs['mlb\_pass'],  
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; submit="Login"  
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; )

---

<div class="post-metadata">

### Author: ![sander1](https://avatars.discourse-cdn.com/v4/letter/s/4bbf92/32.png) [@sander1](https://forums.plex.tv/u/sander1)
#### Post date: [May 29, 2013, 11:55am UTC](https://forums.plex.tv/t/web-form-submit/35021/2 "2013-05-29T11:55:37Z")

</div>

> [...] and you're passing values to the web form, do you use the web form field's **name=** or **id=** portion?

It's the **name** you want.

---

<div class="post-metadata">

### Author: ![system](https://global.discourse-cdn.com/plex/original/3X/2/a/2acb9765406f63293d357b4ec509ec39aa28f2ad.png) [@system](https://forums.plex.tv/u/system)
#### Post date: [December 20, 2019, 11:25pm UTC](https://forums.plex.tv/t/web-form-submit/35021/3 "2019-12-20T23:25:19Z")

</div>

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