I am using '#after_build' in a form to install a function that is called after submitting the form but before showing it. Why is it called twice? (Once with the submitted form values, once with newly initialized form values?)
Is there a way to limit the maximum number of words that a user can enter in a textarea that is part of a flexinode or a simple node. I want to be able to limit the maximum words according to user role, or per specific flexinode, but can't seem to find anything by searching.
I was thinking I could write a javascript and embed it in the specific flexinode, that would check the number of words when the user pressed submit, but I have limited knowledge about programming and can't seem to find the flexinode file (i guess each flexinode is constructed in the db).
Ok, a couple questions regarding the new system for releasing projects. Is it advised to create a new release for every patch? I can't imagine wanting the default release to be a version of the module that doesn't have the latest patch... And how then can I delete old releases? I don't see any way to get rid of the old ones. If I'm making a new release for each patch or major version, it seems the list would start to get cluttered and really be unhelpful.
I would like to create a view with the views module for the default front page that doesn't display any organic groups content on our site. I don't want to create custom content types and want to use the existing content type available. I have been looking at the views' filters for awhile now and so far I have not been able to figure this out.
Any one have any ideas how I might accomplish this?