Typo3: powermailer: one form on different places on the same page - forms

I have a page where I need one form in the main content and one in the footer.
The problem is that these two forms should be connected.
The form in the main content have three input fields for name, email etc. and the one in the footer has two radio buttons.
The radiobuttons work as "I agree" so they have to, somehow, be connected to the other fields.
I use typo3 with powermailer.
I have a thougth of using css and just move those radiobuttons to the footer.
But I would like a more permanent sollution. Thanks.

I think that there is currently no better solution, but youre on the right way with CSS.
If i understood you correctly. You are trying to implement two plugins which are connected to each other. This is impossible with powermail.
Dirty, but useable is the CSS way or maybe a JavaScript solution for some fancy effects.

Related

Styling a Radio Button Group using the purecss.io framework

The other day I stumbled on the Pure project - a set of CSS modules released by the YUI team. I wanted to standardize the forms across my website and I liked the look of their forms module. Especially the style of form they call the Aligned Form. I added the CSS to my site and added the needed styles to my form and it all worked well except for my group of radio buttons. In the Aligned Form each input has a label on the left side and the input to the right of it's label. But individual Radio Buttons have individual labels - which get styled to the right of the button. What I'm looking for is a way to add an overall label for the group of buttons that is styled to the left and centered.
I did find a workaround, but I'm looking more for a dedicate "Pure" way of doing it.
My workaround was to include the radios within a fieldset, and use the legend of the fieldset as the label for the radio group.
I'd enjoy hearing from others who work with Pure Aligned Forms to see how you handled this.
Your question is a little vague I think. If what you are trying to achieve is something like this,
Label
radio
radio
radio
then the way you did it (what you call your "workaround") is actually the best way to do this. Fieldsets are meant for grouping items together and you can use the legend as the label.
However, if you are trying to do something like this,
radio
Label radio
radio
then you are going to want to use floating divs (one to hold your label and another to group your radio buttons).
I can't really get more specific without knowing what your code looks like and what you are specifically going for...

How to create some custom box into a Typo3 web page?

I am very new in Typo3 world (I came from Joomla and WordPress) and I have some doubts related a thing that has been requested by a customer that use Typo3 for its site
He ask me to create some colored boxes into a specific page. Each of these boxes simply must contain text or links.
How can I do this?
I am thinking that I can solve in the following way (but I have not idea if this is a GOOD solution):
In the backend I go in the Page section and I open the settings related to the page that I have to modify
Here I have 3 columns (Left, Normal, Right) and for example I add a NEW Regular Text Element into this central column
Now appear to me the wysiwyg editor, so I click on the Toggle text mode icon and I pass from the wysiwyg mode to the pure HTML editor's mode and now I will create some div tags (settings the CSS settings for the background color and the dimension) that rappresent my boxes (and into these div I put their textual contents).
Is it a possible solution or is it a bad solution?
Tnx
Andrea
You may either use the RTE typoscript config to add some new paragraph styles, which will make the boxes or use the section_frame field in tt_content, a field called "frame" in the backend when you edit a content record. Both solutions would just need some typoscript (which you will deal with very often in the TYPO3 world) and CSS code.
If you need some more structure in the backend, there is also an extension for that called multicolumn. If you just need "more" columns in the backend (in combination with backend layouts) to achieve different looks, this can also be done by adding some typoscript config. To give you a more precise recommendation, some sort of scribble or design screenshot of what you want would be nice.

Struts 2 form customization

I use Struts 2 to create form in my application. I am struggling with a form customization.
I 've tried with theme simple, xhtml and css_xhtml but i am not able to find a solution.
Struts display the one input text by row, i want to display two or more input text by row. I join the image which explains want i'd like to do.
Thanks
With "simple" theme you can do whatever you want; there's nothing provided other than form value and input element. (You also don't get the automatic error reporting with the form element, but it looks like you wouldn't want that anyway.) If it's not working with "simple" then you're building your form wrong, or forgetting to include your own label, or something.
It might be easier to simply accept the layout Struts gives you and by assigning unique id's to your input fields take control the layout through a custom css file.
After many test, i've resolved my problem by using the simple theme. And adding custom css to format my form. Thanks –

How to put zend radio in an extended table

I'm trying to build a form in the Zend Frameword in which there has to be a table like this:
So, it's a radiobutton followed by some descriptions about a subscription of some sorts. I have googled myself senseless, but can't make this happen. I have tried several form-decorators, but it seems that the radiobuttons stick together, and you can only wrap a whole group of radiobuttons in an html-tag...
The form will be rendered by a Smarty template, but I can't get the individual radio-buttons in the template. Maybe somebody has some experience with this.
Does anybody have an idea or a link to get me going with this?
This task is suited for View Script Decorator .
http://framework.zend.com/manual/en/zend.form.standardDecorators.html#zend.form.standardDecorators.viewScript

TableView or ScrollView for edit form?

I wonder which will be the best route for build edit forms on the iPhone, using a TableView or using a scrollview.
I need:
Support up to 15 fields (similar to contact app)
The same behavior of safari forms, where is possible go back/forward among fields, and the form center the selected field and stay there when the user end the editing
Simple layout (one field after other)
I'm looking for the most-user friendly experience. Which route has been proved to be the better?
Exist good examples of great edit forms on iPhone apps?
I would vote for a tableview organized by sections. If nothing else, it is a more common layout and most users will be familiar with it.
In either case, you will have to handle the transition from field to field with custom code.