Skip to main content

Bug Tracker

Side navigation

#7819 closed bug (invalid)

Opened December 21, 2010 06:40PM UTC

Closed December 21, 2010 07:50PM UTC

Last modified December 21, 2010 08:06PM UTC

Template rendered form values are not included in postback

Reported by: blackbart Owned by:
Priority: undecided Milestone: 1.6
Component: unfiled Version: 1.4.4
Keywords: Cc:
Blocked by: Blocking:
Description

As best as I can tell, when I use a template to render input elements they are not included in the post back. I have checked what is getting sent in the postback with Fiddler and in my demo the name1 (statically rendered) and name2 (dynamically rendered) input boxes work just fine. But the id_one and id_two input boxes created from the template do not show up in the postback.

http://jsfiddle.net/blackbart/dKGrF/1/

Attachments (0)
Change History (4)

Changed December 21, 2010 06:48PM UTC by blackbart comment:1

I was using Firefox 3.16.3 and Fiddler 2.3.1.0.

Changed December 21, 2010 07:50PM UTC by rwaldron comment:2

resolution: → invalid
status: newclosed

This is not a jquery bug; serialize uses the name attribute: http://api.jquery.com/serialize/

Working example:

http://jsfiddle.net/rwaldron/dKGrF/9/

Changed December 21, 2010 07:58PM UTC by blackbart comment:3

@rwaldron Thank you.

Changed December 21, 2010 08:06PM UTC by rwaldron comment:4

:D You're welcome!