Add Placeholders to Gravity Forms - forms

Is there a way to add HTML5 placeholders to Gravity Forms? I've tried a number of plugins, but none of them appear to work.
Gravity Forms: http://www.gravityforms.com/
One Plugin (that doesn't work): http://wordpress.org/extend/plugins/gravity-forms-auto-placeholders/changelog/
Another: http://wordpress.org/extend/plugins/gravity-forms-placeholders/

Yes, please see my answer on the following thread: Can I Define my own form markup and map with to the form generated using Gravity Form (wordpress plugin)?
This will add an extra field for text inputs that will allow for placeholder text. Very easy to implement, basically adding some code to the functions.php file.

Related

Using built in AEM form

The form component in AEM and all other form related components mandate that it should be used under parsys component (by dragging and dropping). When I use these form components without a parsys as their parent, are not behaving as expected for ex: form end component does not show submit button even though i have checked the option to show submit button.
Question: I want to use the form components but I don't want to use drag and drop. I want to create a reusable form component with predefined fields. Any way to achieve this?
Finally after a lot of searching, I found the best solution here :
http://versatileankur.blogspot.in/2014/11/component-with-default-components-in-cq5.html

How to completely change the css position of an element on the page to appear in another part of the document flow?

I have a long form with text inputs, and in the middle of it, I'd like to insert a jquery upload (blueimp) file plugin which uses a form element. I know that nested forms are not valid markup. How can I use CSS to visually position a form element inside another form element without doing some messy absolute positioning?
It seems like using an iframe to generate the content, and then inserting the iframe into the middle of the original form works quite well. I'm unfamiliar with the caveats of iframes but everything seems to work fine.

Non Editable element in TinyMCE (related to Mathjax)

I'm building an extended editor around TinyMCE and I have to implement a Math formula module. I've choosen Mathjax for formula rendering, using plain html/css. So far, I've managed to create a plugin that popup a panel with a textarea, you can enter your latex in, there's a preview in the panel.
Once you validate the formula, it's injected into tinymce content. This new content is A LOT of spans with inlined styles, and OF COURSE, I don't want tinymce to be able to edit that directly. (sidenote: we only store latex, not the rendered html output from mathjax)
Basically, I want that a piece of html inside Tinymce to be ignored totally, but displayed in place. I want my carret to be able to move before that piece of html, and after, but not inside.
The "non editable content" plugin seems to be close of what I'm looking for, but it has some limitation (you can't ADD no editable content on the fly, having nested html content inside an element flagged as "non editable" broke some things, etc.)
Is someone could help with that ? I started to tweak the non editable plugin, but it's really really hard to understand existing code. Has someone already did something like that, or is there another third party plugin ?
thanks

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 –

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

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.