gambit_1607 0 Newbie Poster

hi

on my blog page, i'm trying to manually add in group check boxes under groups. initially there is a list of group checkboxes from user's "my groups" to choose from, but i want to add more groups that don't exist in "my groups".

drupal code for the form looks like this

<form action="/node/add/blog?"  accept-charset="UTF-8" method="post" id="node-form" enctype="multipart/form-data"> 
<div> 
<div class="node-form"> 
  <div class="standard"> 
<div class="form-item" id="edit-title-wrapper"> 
 <label for="edit-title">Title: <span class="form-required" title="This field is required.">*</span></label> 
 <input type="text" maxlength="128" name="title" id="edit-title" size="60" value="" class="form-text required" /> 
</div> 
<div class="body-field-wrapper"><div class="teaser-checkbox"><div class="form-item" id="edit-teaser-include-wrapper"> 
 <label class="option" for="edit-teaser-include"><input type="checkbox" name="teaser_include" id="edit-teaser-include" value="1"  checked="checked"  class="form-checkbox" /> Show summary in full view</label> 
</div> 
</div><div class="form-item" id="edit-body-wrapper"> 
 <label for="edit-body">Body: </label> 
 <textarea cols="60" rows="20" name="body" id="edit-body"  class="form-textarea resizable"></textarea> 
</div> 
</div><fieldset class=" collapsible"><legend>Groups</legend><div class="form-item"> 
 <label>Audience: <span class="form-required" title="This field is required.">*</span></label> 
 <div class="form-checkboxes og-audience" id="form-checkboxes_og-audience""><div class="form-item" id="edit-og-groups-9658-wrapper"> 
 <label class="option" for="edit-og-groups-9658"><input type="checkbox" name="og_groups[9658]" id="edit-og-groups-9658" value="9658"   class="form-checkbox og-audience" /> Acne</label> 
</div> 
<div class="form-item" id="edit-og-groups-9663-wrapper"> 
 <label class="option" for="edit-og-groups-9663"><input type="checkbox" name="og_groups[9663]" id="edit-og-groups-9663" value="9663"   class="form-checkbox og-audience" /> Age-Related Macular Degeneration</label> 
</div> 
<div class="form-item" id="edit-og-groups-9668-wrapper"> 
 <label class="option" for="edit-og-groups-9668"><input type="checkbox" name="og_groups[9668]" id="edit-og-groups-9668" value="9668"   class="form-checkbox og-audience" /> Allergies</label> 
</div> 
</div> 
 <div class="description">Show this post in these groups.</div></div> 
</fieldset> 
<input type="hidden" name="changed" id="edit-changed" value=""  /> 
<input type="hidden" name="form_build_id" id="form-ba198285c91e686a9284856929aaf280" value="form-ba198285c91e686a9284856929aaf280"  /> 
<input type="hidden" name="form_token" id="edit-blog-node-form-form-token" value="f63c2398f88be4aa366d05baf09f855a"  /> 
<input type="hidden" name="form_id" id="edit-blog-node-form" value="blog_node_form"  /> 
 
  </div> 
  <div class="admin"> 
    <div class="authored"> 
    </div> 
    <div class="options"> 
    </div> 
  </div> 
<input type="submit" name="op" id="edit-preview" value="Preview"  class="form-submit" />
<input type="submit" name="op" id="edit-submit" value="Save"  class="form-submit" /></div> </div> </form>

when i add in a new div check box which looks like this

<form action="/node/add/blog?"  accept-charset="UTF-8" method="post" id="node-form" enctype="multipart/form-data"> 
<div> 
<div class="node-form"> 
  <div class="standard"> 
<div class="form-item" id="edit-title-wrapper"> 
 <label for="edit-title">Title: <span class="form-required" title="This field is required.">*</span></label> 
 <input type="text" maxlength="128" name="title" id="edit-title" size="60" value="" class="form-text required" /> 
</div> 
<div class="body-field-wrapper"><div class="teaser-checkbox"><div class="form-item" id="edit-teaser-include-wrapper"> 
 <label class="option" for="edit-teaser-include"><input type="checkbox" name="teaser_include" id="edit-teaser-include" value="1"  checked="checked"  class="form-checkbox" /> Show summary in full view</label> 
</div> 
</div><div class="form-item" id="edit-body-wrapper"> 
 <label for="edit-body">Body: </label> 
 <textarea cols="60" rows="20" name="body" id="edit-body"  class="form-textarea resizable"></textarea> 
</div> 
</div><fieldset class=" collapsible"><legend>Groups</legend><div class="form-item"> 
 <label>Audience: <span class="form-required" title="This field is required.">*</span></label> 
 <div class="form-checkboxes og-audience" id="form-checkboxes_og-audience""><div class="form-item" id="edit-og-groups-9658-wrapper"> 
 <label class="option" for="edit-og-groups-9658"><input type="checkbox" name="og_groups[9658]" id="edit-og-groups-9658" value="9658"   class="form-checkbox og-audience" /> Acne</label> 
</div> 
<div class="form-item" id="edit-og-groups-9663-wrapper"> 
 <label class="option" for="edit-og-groups-9663"><input type="checkbox" name="og_groups[9663]" id="edit-og-groups-9663" value="9663"   class="form-checkbox og-audience" /> Age-Related Macular Degeneration</label> 
</div> 
<div class="form-item" id="edit-og-groups-9668-wrapper"> 
 <label class="option" for="edit-og-groups-9668"><input type="checkbox" name="og_groups[9668]" id="edit-og-groups-9668" value="9668"   class="form-checkbox og-audience" /> Allergies</label> 
</div> 

<!-- newly added checkbox -->
<div class="form-item" id="edit-og-groups-9000-wrapper"> 
 <label class="option" for="edit-og-groups-9000"><input type="checkbox" name="og_groups[9000]" id="edit-og-groups-9000" value="9000"   class="form-checkbox og-audience" /> Newly Added Group</label> 
</div> 



</div> 
 <div class="description">Show this post in these groups.</div></div> 
</fieldset> 
<input type="hidden" name="changed" id="edit-changed" value=""  /> 
<input type="hidden" name="form_build_id" id="form-ba198285c91e686a9284856929aaf280" value="form-ba198285c91e686a9284856929aaf280"  /> 
<input type="hidden" name="form_token" id="edit-blog-node-form-form-token" value="f63c2398f88be4aa366d05baf09f855a"  /> 
<input type="hidden" name="form_id" id="edit-blog-node-form" value="blog_node_form"  /> 
 
  </div> 
  <div class="admin"> 
    <div class="authored"> 
    </div> 
    <div class="options"> 
    </div> 
  </div> 
<input type="submit" name="op" id="edit-preview" value="Preview"  class="form-submit" />
<input type="submit" name="op" id="edit-submit" value="Save"  class="form-submit" /></div> </div> </form>

the form won't post in the newly added group. it looks like this is some sort of advanced form. does anyone know how i can add this new group and still be able post in that group?