• Hi,
    i have created my custom meta box and now i want add more field into this with jquery.

    i have created my button for add new row with my duplicated field but i dont know the right way for save this.

    Anyone know a tutorial or one examples for this?
    Any help is appreciate!

    Thanks in advance!

Viewing 16 replies (of 16 total)
  • Thread Starter mic3000

    (@mic3000)

    Ok with var_dump

    array
      0 =>
        array
          'name' => string 'First Name:' (length=11)
          'id' => string 'my_custom_meta_student_first_name' (length=33)
          'type' => string 'text' (length=4)
          'std' => string '' (length=0)
      1 =>
        array
          'name' => string 'Last Name:' (length=10)
          'id' => string 'my_custom_meta_student_last_name' (length=32)
          'type' => string 'text' (length=4)
          'std' => string '' (length=0)
      2 =>
        array
          'name' => string 'Phone:' (length=5)
          'id' => string 'my_custom_meta_student_phone' (length=28)
          'type' => string 'text' (length=4)
          'std' => string '' (length=0)
    
    array
      0 =>
        array
          'name' => string 'First Name:' (length=11)
          'id' => string 'my_custom_meta_student_first_name' (length=33)
          'type' => string 'text' (length=4)
          'std' => string '' (length=0)
      1 =>
        array
          'name' => string 'Last Name:' (length=10)
          'id' => string 'my_custom_meta_student_last_name' (length=32)
          'type' => string 'text' (length=4)
          'std' => string '' (length=0)
      2 =>
        array
          'name' => string 'Phone:' (length=5)
          'id' => string 'my_custom_meta_student_phone' (length=28)
          'type' => string 'text' (length=4)
          'std' => string '' (length=0)
Viewing 16 replies (of 16 total)
  • The topic ‘Add custom field dynamically’ is closed to new replies.