1779 Posts in 582 Topics by 556 members
|
Page:
1
|
Go to End | |
| Author | Topic: | 807 Views |
-
Form with TinyMCE

26 January 2009 at 9:23am Last edited: 26 January 2009 9:30am
Hi
I would like to create a form the users may fill in with TinyMCE.
How can I do it?function Form() {
return new Form($this, "Form", new FieldSet(// List your fields here
new TextField("FirstName", "First name"),
new TextField("Surname"),
new EmailField("Email", "Email address"),
new HtmlEditorField("Story", "Your story")), new FieldSet(
// List the action buttons here
new FormAction("SignupAction", "Sign up")), new RequiredFields("Email", "FirstName"
// List the required fields here: "Email", "FirstName"
));
}
I add the RequiredFields into the Form object and the form include multi-line text field, but without the TinyMCE.thanks,
Rotem.
| 807 Views | ||
|
Page:
1
|
Go to Top |

