Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
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
Comment #1
quicksketchYou 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.
Comment #2
syossib CreditAttribution: syossib commentedthanks 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
Comment #3
quicksketchI generally don't provide help on custom coding or theming. From the submission guidelines:
Please refer to other resources such as IRC or Drupal StackExchange to ask your questions.
Comment #4
quicksketchComment #5
ehsankhfr CreditAttribution: ehsankhfr commentedWhy can't it be transferred? Is it because of specific form syntax in Drupal?
Comment #6
DanChadwick CreditAttribution: DanChadwick commentedYou 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.