Fix for Fix for Fix for jQuery Form Plugin's POST is incorrect

  1. // $_POST after browser form submit:
  2.  
  3. Array
  4. (
  5.     [title] =>
  6.     [taxonomy] => Array
  7.         (
  8.             [1] => Array
  9.                 (
  10.                     [hierarchical_select] => Array
  11.                         (
  12.                             [selects] => Array
  13.                                 (
  14.                                     [0] => label_0
  15.                                 )
  16.  
  17.                         )
  18.  
  19.                 )
  20.  
  21.         )
  22.  
  23.     [hierarchical_select_json_parameters] => hs_test
  24.     [changed] =>
  25.     [body] =>
  26.     [format] => 1
  27.     [form_token] => ea2e95e10caec44a0d44260f9831eea1
  28.     [form_id] => page_node_form
  29.     [log] =>
  30.     [menu] => Array
  31.         (
  32.             [title] =>
  33.             [description] =>
  34.             [pid] => 1
  35.             [path] =>
  36.             [weight] => 0
  37.             [mid] => 0
  38.             [type] => 86
  39.         )
  40.  
  41.     [comment] => 0
  42.     [name] => root
  43.     [date] =>
  44.     [status] => 1
  45.     [subscriptions_notify] => 1
  46.     [op] => Preview
  47. )
  48.  
  49.  
  50.  
  51.  
  52.  
  53.  
  54.  
  55. // $_POST after jQuery Form Plugin submit:
  56.  
  57. Array
  58. (
  59.     [title] =>
  60.     [hierarchical_select_json_parameters] => hs_test
  61.     [changed] =>
  62.     [body] =>
  63.     [format] => 1
  64.     [form_token] => ea2e95e10caec44a0d44260f9831eea1
  65.     [form_id] => page_node_form
  66.     [log] =>
  67.     [menu] => Array
  68.         (
  69.             [title] =>
  70.             [description] =>
  71.             [pid] => 1
  72.             [path] =>
  73.             [weight] => 0
  74.             [mid] => 0
  75.             [type] => 86
  76.         )
  77.  
  78.     [comment] => 0
  79.     [name] => root
  80.     [date] =>
  81.     [status] => 1
  82.     [subscriptions_notify] => 1
  83. )

Submit Fix

Any tags you'd like to associate with your code, delimitered by commas (example: Views, CCK, Module, etc).
Select the syntax highlighting mode to use.