Hi,

I currently have a location form within a add event form, I have already changed some values of the text fields but i now want to remove the field set to make the format look betters...

I have set up a mdule called location_tweak.module and have the following code within it.

 <?php function location_tweak_form_alter($form_id, &$form){
    // print $form_id . ' '; // this prints form_id's of all forms on every page - development feature

        // When an event is being added change the title of the street address field
        if($form_id == 'eventgig_node_form') {

               $form[locations][0][street]['#title'] = 'Building Number and Street';
			   $form[locations][0][city]['#title'] = 'Town';
         }
}

I now want to remove

<fieldset class="locations"><legend>Location</legend><fieldset
class="location"><legend>Location</legend>

could i use this module to remove this?

Also

I have a test account availible so you guys can view the site
user - Test-user
pass - Test1234

the form i am playing with lives at http://www.midmus.co.uk/addevent

Many thanks in advance

Comments

o0_Enigma_0o’s picture

Status: Active » Closed (fixed)

thanks for the replys guys
test account now blocked!

had to remove gmap.location so this post is now not needed