- Issue was unassigned.
- Status changed to Postponed: needs info
9 months ago 8:39pm 27 February 2024 Bug reports need steps to reproduce.
Also asked as https://drupal.stackexchange.com/questions/319473/could-someone-assist-m...
For this project, I used the Webform module version (6.2.2) and all its activated submodules. I will attach my SVG file, which will be in the zip file, so you can test it with the SVG seen in the video clip.
1. Firstly, navigate to "admin/structure/webform/options/custom/manage" and add a custom option named "SVG."
2. Configure the custom options as follows:
- Category: Maps
- Template
- Type: URL
- HTML/SVG file URL or path: "/sites/default/files/svg/hghg.svg" (I have placed the SVG file here)
- Option value attribute names: id
- Option text attribute names: id
- Check "Allow SVG option elements to be filled using CSS" and "Enable SVG panning and zooming."
- Leave unchecked "Show select menu associated with the custom options element" and "Display option text and description in a tooltip."
- Under Integration, check only "Use as a basic select element" and save.
3. Then, navigate to "/admin/structure/webform" and create a new webform named "test."
4. Add the previously created element by clicking "+Add element" and selecting SVG (from the Custom elements category).
5. Configure the element settings as follows:
- Title: Test
- Allowed number of values: Unlimited
- Form validation: Check "Unique" and "Unique per entity"
- Save the element.
6. After that, go to "admin/structure/webform/manage/test/settings," then navigate to Emails/Handlers, and add a handler called "Options/Checkbox limit."
7. Configure the handler settings as follows:
- Title: Options/Checkbox limit
- Element settings: Element: Test (SVG) [Here, selectable options and limitations for each element from SVG should appear. This is where I encounter the issue.]
8. After saving the handler, attempt to test the webform at "webform/test/test." However, an error occurs: "The website encountered an unexpected error. Try again later." The specific error encountered is attached here.After deactivating the limiting handler, it reverts back to its initial state, meaning the SVG file is selectable, and so on.
Thank you !- Status changed to Closed: won't fix
8 months ago 2:05am 5 April 2024 - πΊπΈUnited States jrockowitz Brooklyn, NY
This feels like a support request. I don't have to resources to debug custom code/implementation