I am struggling with adding validation checks, e.g. only allow number input in Adobe Muse text input box. Also, how do you add a dropdown list on the simple contact form, e.g. options are Mr, Mrs, Miss? etcetera.
Please advise.
As far as I know Muse doesn't have a text attribute for validating text fields. But they do have a number field (https://adobe-muse.github.io/MuCowDocs/#h-number-) which should work for what you are talking about.
And yes, they also have drop-downs (https://adobe-muse.github.io/MuCowDocs/#h-list-).
Hope this helps!
Related
I am kinda new to typo3 and after 3h of looking for an answer I resign and hope someone of you can help me. So what I am trying to achieve is a hidden field in a powermail form with a certain id and name. I can add a hidden field in the backend but there is no option to set an id nor name. I guess it is somehow possible to do this with some typoscript but I couldn't find a way in the docs. The closest thing I read is this https://docs.typo3.org/typo3cms/extensions/powermail/ForDevelopers/AddNewFieldProperties/Index.html but this let me create a whole new template for a field as I understood. This is way too much as I only need to set the id and name for one field only.
I hope someone can help me. Thanks in advance!
If you want to add a field with a complete own name for some reasons, you could add a field of type HTML and add your input field as you want (see https://docs.typo3.org/typo3cms/extensions/powermail/ForEditors/AddANewForm/FieldHtml/Index.html). Of course powermail ignores this field in the createAction().
BTW: You wrote something about google. Are you sure google can handle fields in POST-requests? If not, you have to add the value as GET value in powermail. That must be done in the Form HTML-Partial.
I need to build a form where user can have an infinite number of identical fields, depending on the number which he entered in the previous field 'Number of steps'(for example).
Maybe someone have any idea?
I recommand you to check the Form API of Drupal and especially the #ajax property
Here is a great example on how to achieve what you need.
I am working on a project and I have a requirement to create one GWT Textfield. User should be able to put query in the text field. But this text field should have content assist (like Ecliplse) kind of functionality.
Example: "path" is one of the predefined object in the application with having certain attribute like "name","address". So now when user type "path.", it should show available attribute. This should work almost same way as in eclipse we get while put objectname it will give all available methods to call.
Example: User writes text "From path.name, path.attribute for object.attribute"
When user writes "from","for" it will not show any assistance but when user types "path." or "object." in above statement, it should show assist.
This is an interesting idea. You could try this with a suggest box widget.
GWT Suggest Box - http://gwt.googleusercontent.com/samples/Showcase/Showcase.html#!CwSuggestBox
GWTChosen Suggest Box - http://jdramaix.github.com/gwtchosen/
The above widget demos work with simple "contains" check on string. You would need to spend some serious logic on the regex matching if you want to pull of your idea.
How can I make input fields like that in the Mail App on OSX.
Here is a screenshot -
What I want is the ability to group text like it is shown in the image above. So, instead of having several input field (eg. in the case of the mail app - from, to, subject etc), I can do with a single one.
I do not completely understand the question here, but I'm guessing some clever use of CSS where you place a drop-down menu and an input form within a div styled to look like an input form would work?
i am building a webapp that will have notes fields all over the place, but i dont know what kind of markup i should use.
these are my requirements
User must be able to change the text style (bold, italic, underlined)
User must be able to create bullet lists
User must be able to create numbered lists
User must be able to change the font-size or use pre-definded headings
User must be able to add links
User must have a WYSIWYG - Editor that hides the actual markup
the last one is the most important requirement, my target users struggle even with word, so using markup style input like here on stackoverflow is not an option.
so what kind`s of markup do you know that fits ans has some fancy WYSIWYG - Editor?
if you think that i missed a important requirement please feel free to suggest it.
tia
You'll need to check out tinyMCE.
It's the best javascript-based WYSIWYG editor I've found.