1779 Posts in 582 Topics by 556 members
|
Page:
1
|
Go to End | |
| Author | Topic: | 1855 Views |
-
userforms -> edit Form does not work

24 August 2009 at 12:03am
hello together,
i have instaled the userform (and trunk) on my localhost side (root). so on it seems all is runnig good and i get the button CREATE -> UserDefineForm.
now i want to edit Form -> select a Field... and Add: i get a white blance site and nothing hapening. so this things i tried:
1. .../dev/build
1. i restarted my computer
2. ?flush=1
3. tested on SilverStripeV. 2.3.2 and 2.3.3its all the same! i can go back to admin and edit my page, but i dont get the elements of the formular.
the one thing what is displaiing is the "submit" button. thats all.did i something miss in mysite->_config.php?
thanks, and sorry for my bad english. hope the problem is recognizably.
m.
-
Re: userforms -> edit Form does not work

24 August 2009 at 11:12pm
thank the problem is solved! the folder need to be named: "userforms" ...
-
Re: userforms -> edit Form does not work

14 November 2009 at 11:50pm
Thanks for the post --- I was having the same issue....This solved the problem.
-
Re: userforms -> edit Form does not work

26 April 2010 at 7:15pm
Anyone still using this module?
I have the module working but I want to customise it, but when I add a HTML block the values are not added into the database
-
Re: userforms -> edit Form does not work

28 April 2010 at 10:18pm
The HTML Block is simply a LiteralField, It takes no data from the user so the data passed to it is null. Couple options I guess
1) Hide HTMLBlocks from the reports by adding this to EditableLiteralField.php
function showInReports() {
return false;
}2) Include the content from the html block by overriding the getValueFromData() function. Again by editing EditableLiteralField.php
function getValueFromData($data) {
return $this->getSetting('Content');
}As for what I would choose for the core - I would lean towards 1 as I'm not sure why you would want a non user submitted field in the submissions tab. Could always have the option in the setting panel to do both.
Let me know how you get on with either one of those.
| 1855 Views | ||
|
Page:
1
|
Go to Top |




