Skip to main content
This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.
I have a rather complicated form that I need to add to Silverstripe. Adding the fields is no problem, but for this one, I need to be able to position them exactly as I have here.
Does anyone have any ideas on how to achieve this? Adding a custom form and an iframe to hold it in the cms (with it's own submit button) is definately an option, but I don't even know how to do that.
Sorry - here is the screenshot
You can do this with a custom template, no need for iframe really.
Take a look here -
Basically you'll have to write your own form and not build one in the admin CMS area.
If you're looking at having the form show up in the admin area, not sure that is possible with a user defined form/custom template, though as I'm writing this I think I might have read something in the forums on that once. Maybe a developer can shed more light.
But this is for the admin only. The data is displayed in a table on the site itself.
So still looking for ideas here.
After examining the code, there doesn't look like there will be an easy way to add fields in this structure to Silverstripe itself.
So I guess the only option is to make a custom PHP form, and have it load in an iFrame within the admin. (even a link and/or popup will do the trick)
I have scoured the forums and Doku all morning, but found nothing. Does anyone know how something like this can be achieved?