Regarding the generated <form ..> element (Fieldgroup as form), could there be an option to:

  • Specify its "name", eg <form name="myform">
  • Specify its "id", eg <form name="myform" id="my_id">
  • Specify serial unique "id", eg <form name="myform" id="my_id_01">
    This is useful if I decide to use Views to output multiple forms on several nodes on the same page, and may need to style them differently, or want to use Javascript to identify them
  • Specify an optional parameter, eg.<form name="myform" id="my_id_01" onclick="process myScript(this.form)">

Comments

samuraisjakkie’s picture

Yes this would be a good addition. found how to manually add the ID, but it is a static ID which will be used when the module is run.