Looks like this works but I have no idea why..<br><br>function profilecloud_form_alter($form_id, &$form) {<br>$category = 'Medlemskonventet 2006';<br> if ($form_id == 'user_edit') {<br> $alteration = array('#description' => t('ALTERED!!!!'));<br> //$form[$category]['edit-profile_matchmaking_2006'] = array_merge($form[$category],$alteration);<br> $form = array_merge($form[$category], $alteration);<br> <br> }<br>}<br><br><b><i>Carl Mc Dade <carl_mcdade@yahoo.com></i></b> wrote:<blockquote class="replbq" style="border-left: 2px solid rgb(16, 16, 255); margin-left: 5px; padding-left: 5px;"> I am adding a markup field to a Profile form but only want the field to show after a certain textarea. The idea is to use the links in the markup field to enter text in the textarea above it. I have set in the working code and have no problem with it but am questioning the fact that hardcoding
this in seems to be the only way.<br><br>Is there a way of doing this using the FormsAPI? a grouping syntax? Something like show this field only if a related field is present?<br><br>Is there a hook for FormsAPI that would help? <br><br><br>TIA<br><br><br><br><br><div> <div><font face="Arial" size="2">Carl Mc Dade<br>____________________________<br> Web Developer for Hire</font></div> <div><font face="Arial" size="2"><a href="http://www.heroforhire.net">http://www.heroforhire.net</a><br><a href="mailto:info@heroforhire.net">info@heroforhire.net</a></font></div> <div><font face="Arial" size="2"><br> </font></div></div><div> </div><hr size="1">Yahoo! Messenger with Voice. <a href="http://us.rd.yahoo.com/mail_us/taglines/postman1/*http://us.rd.yahoo.com/evt=39663/*http://voice.yahoo.com">Make PC-to-Phone Calls</a> to the US (and 30+ countries) for 2�/min or less.</blockquote><br><BR><BR><div> <div><font face="Arial" size="2">Carl Mc
Dade<br>____________________________<br>Web Developer<br>Dataföreningen i Sverige AB<br>www.d4d.se<br>www.dfs.se<br></font></div><div><font face="Arial" size="2"><br> </font></div></div><p> 
                <hr size=1>How low will we go? Check out Yahoo! Messenger’s low <a href="http://us.rd.yahoo.com/mail_us/taglines/postman8/*http://us.rd.yahoo.com/evt=39663/*http://voice.yahoo.com"> PC-to-Phone call rates.