i made the my all form under one fieldset cause i want the user to reveal it
only if he need it.
the problem is that when the form is closed i still can see the submit button
how can i make it disappeare when the form is close?
if its possible i prefer the answer in css...
the other prefernces of the form i succeeded to make one for close form and one for close one.
thanks a lot

Comments

quicksketch’s picture

You can't currently move the submit button with doing custom theming or using a add-on module. I think it's possible to move the submit button with http://drupal.org/project/ds, but I'm not 100% sure about that. The easiest approach would probably be moving it via theming, which you can read about in the THEMING.txt file that comes with the module.

syossib’s picture

thanks for the help.
i think that if its possible with display suite themenig its possible with form_alter.
but my question is what should i do.
i thought to move the submit array under the field set array.
i tried it but with out any success
so if anyone have idea how to do it(what code to put in my function) it will
be very helpful.
thanks

quicksketch’s picture

so if anyone have idea how to do it(what code to put in my function)

I generally don't provide help on custom coding or theming. From the submission guidelines:

Any issues regarding "how do I code ..." or "how do I theme ..." will not be answered. Please look elsewhere for coding resources.

Please refer to other resources such as IRC or Drupal StackExchange to ask your questions.

quicksketch’s picture

Status: Active » Closed (fixed)
ehsankhfr’s picture

Issue summary: View changes

Why can't it be transferred? Is it because of specific form syntax in Drupal?

DanChadwick’s picture

You can move it with custom programming. Comment #1 has a typo. quicksketch meant to say "without doing custom programming"

Also, posting a new comment to a closed 3 year old issue is likely to get your question ignored. I don't generally look at closed issues.