Adding an HTML form into a page in Kooboo - asp.net-mvc-2

I have Kooboo CMS. I want to add an HTML input form for submitting data. How do I add any HTML form to a Kooboo page?

I think it's easy. I think you need to:
create "Content type" for your form (like this
-http://wiki.kooboo.com/?wiki=Content_type_management)
create "Content folder" for this content type
(http://wiki.kooboo.com/?wiki=Folder_management)
create view and use code helper "Form" - "Add content" - you'll get
a html form template for add content, you need just to write a
content folder and fields from content type.
More about KooBoo CMS here and here

Related

Kentico and add Form that posts to external source

I want to create a Salesforce Web to Case from on my Kentico Site.
I have a template built and am inheriting the from that.
I create a new page and then add my form code to the Page Tab > Source and Save.
When I load the page on my site, the form is displayed, but when I hit submit, the form does not do the post action.
How do I accomplish this?
TIA, Jason
Since Kentico is built on web forms, each page's content is wrapped inside a form tag.
Adding your markup (including a form tag) in the middle of a Kentico page results in a nested form, which is invalid.
The quickest way to make this work is probably:
Create a basic HTML document with your markup, and put it on a new page in a "Custom Response" web part. https://www.screencast.com/t/PuwwnFTGGpAJ
Then display that new document in an iframe on your current page.
If that won't work, you can put your form markup in a div hidden by CSS. Then use javascript to move the div to a location after the page's main form tag. You can then use CSS to absolutely position the form on the page.
I hope this is helpful, good luck.

create a from and show entered details in another page in orchard cms

just created a from using "custom form" with input fields like - "Title", "Caption", "Alternate Text", and a button called "Submit". After submit i need to show the entered input fields as an output in another page. How can i achieve this.
Pls guide me with step by step solution. I am not a developer, Im just a designer
So, you created a custom type and added those fields.
Then created a custom form with this type.
You can configure the form to redirect after submit thanks to an textbox that allows to use Tokens, i.e dynamic information retrieved by the content.
Thanks to this, you should be able to redirect to the display url of the content.
To display the output the way you want in another page, you need to make an override of your content in your theme.
You can enable the 'Shape tracing' feature to generate this alternate view of your content and then modify it as you want.

Open generated PDF in new tab / window in perl

Please help. I want to open generated PDF in new window / Tab in perl.
User needs to fill the form like First Name,Last Name, Email in web page. The form contents will be filled in PDF using PDF generator. The PDF will be generate dynamically.
In my case,
There is no issue with PDF generation. The generated PDF opens in the same window. This should be open in new tab/ window.
I have tried with "_blank" in form level. The form have certain validations. So it's opening
in new tab when the form have validation errors.
The below the content type which i have used in the pdf page.
content_type : application/pdf
Content-Disposition : inline
If you set the target attribute of a HTML <form> element, the page resulting from the form submission will always displayed using that target. Having a form which either returns a HTML page on invalid input or a PDF is generally a bad idea.
IMO the following is a better solution also from a usability standpoint:
Don't set a target on your form.
If the form is submitted successfully, return a new HTML page in the same window.
Create a link or a form with hidden inputs on that page that contain the parameters entered before.
Name the link something like "Open PDF".
Point the link to your script which actually creates the PDF.
Make the link open in a new window.
Alternatively, you could implement a JavaScript-based solution, possibly using AJAX.

Lemoon - Select Form Template not available

I have started using Lemoon CMS for a new site, everything is working great with one exception.... Forms. Each time I try to create a New Form i am given the option to Select a Form Template.... however this dropdown is not populated with anything. There is a FormTemplate.aspx file which looks intact, and when I try to view my new page/form I get the message Form "" not found.
Any ideas?!
In order to use forms you need to first create/design a form. You do this under the manage/content types section (/admin/manage/content/default.aspx). There you need to click the "Design form template" link. You can now create your form. Once it is saved you need to create a page in your site that will hold the form. Select your newly created form in the "Select form" dropdown and click Publish.

Is it not possible to add HTML tags between ASP tags?

I added a Web Form Content and linked it with Master Page. I could see in this Content Form that there is only one ContentPlaceHolder ASP tag. Now how to add DIV and other tags in between this?
you can use HTML tags where ever in ASPX files. but its recommanded to use ASP.net tags (or maybe CSS for styling) if it is possible.