10387 Posts in 2198 Topics by 1712 members
| Go to End | Next > | |
| Author | Topic: | 3272 Views |
-
Re: UserForms 0.2 RC 2

22 July 2009 at 8:34pm Last edited: 27 July 2009 2:31pm
Thanks Willr, will try
Just thinking - would it be possible for the Userforms to dynamically add a 'check by Mollom' kind of field on textfields (and html fields?) when Mollom is the active SpamProtector? Maybe even have a 'check all (text)fields by Mollom' type of field for the current form? Or would that be too much of a dependency?
[EDIT]
It seems that the dynamic part of the MollomField is totally aimed at the blog or forum module - looking at the (fixed params for the setFieldmapping() function. For validation the MollomServer::checkContent() function is again called with these same fixed params:// check the submitted content against Mollom web service
$response = MollomServer::checkContent($mollom_session_id, $postTitle, $postBody, $authorName, $authorUrl, $authorEmail, $authorOpenId);So I guess for Mollom to work dynamically with Userforms (or other forms for that matter?) the MollomField should be rewritten? Or am I totally missing something here (which could well be true)?
[EDIT 2]
It goes deeper - lib/Mollom.php again uses these fixed params... -
Re: UserForms 0.2 RC 2

23 July 2009 at 9:25pm Last edited: 27 July 2009 2:31pm
Hi ya, like the new layout for user forms but am getting this error when trying to delete a submission.
Error: Uncaught Exception: Object->__call(): the method 'deletesubmission' does not exist on 'SubmittedFormReportField'
At line 515 in /home/sites/mickdesmond.com/public_html/sapphire/core/Object.phphad a quick look through the forum and can't see that this one has come up before.
Regards
Mick.
-
Re: UserForms 0.2 RC 2

26 July 2009 at 12:55am Last edited: 27 July 2009 2:31pm
Has anyone found a solution for the mollom issue yet? I'd have thought Mollom is all about the dynamic version - not bothering people with a captcha unless spam suspected? Please educate me if I'm missing something...
[EDIT] Sorry Willr, I'm totally stupid, delved to deep, but on wrong assumptions
This has nothing to do with the Silverstripes blog/forum modules, it's just the way Mollom works: alternative textfields can indeed be added as an array to the 2nd param (fieldsToPostBody, I now notice the plural). I'll just do that and keep quiet... -
Re: UserForms 0.2 RC 2

28 July 2009 at 4:05pm Last edited: 28 July 2009 4:09pm
I am banging my head against the wall.
I'm using 2.3.2 with userforms .2RC2 and it works fine.... except I can't get any input fields on the live site to re-size any bigger than 30 characters wide. I can not for the life of me figure out my issue...
Multiple Rows works fine... but I can't get it any longer than 30.... making me nuts! (and to be clear, smaller works fine...)
Help me. Please.
-
Re: UserForms 0.2 RC 2

28 July 2009 at 4:12pm
The actual width of the form field would be controlled with your CSS file. The max characters is just a physical text limitation, not a style one.
Could you post the url if that will help explain what you want to do.
-
Re: UserForms 0.2 RC 2

28 July 2009 at 4:19pm
Thanks Willr.
I'm trying to build a contact page: http://66.147.230.102/~visionwe/contact-vision-werks/
The 'message' field needs to be wider.
Looking at the page source, this is what strikes me as odd:
name="EditableTextField35" value="" maxlength="100" size="30"
All my text fields have a size of 30...
-
Re: UserForms 0.2 RC 2

28 July 2009 at 4:24pm
try this in your form.css:
input.text {width: 500px;}
and substitute 500px for whatever width you desire
Cheers,
Rich
-
Re: UserForms 0.2 RC 2

28 July 2009 at 4:45pm
Yeah, I can do that except it hardsets all my input fields to 500px wide...
I'm just trying to figure out why my text fields are defaulting to 30px wide.... I need them dynamic to the module.
| 3272 Views | ||
| Go to Top | Next > |



