Advertisement:

Author Topic: Custom form page : submit form  (Read 3768 times)

send4radha

  • Newbie
  • *
  • Posts: 40
Custom form page : submit form
« on: August 16, 2012, 09:13:05 pm »
Hello All,

submit form similar to contact form

I am making a realestate website and I need make Custom form page for the user to post their requirement.

Form fields are as follows.

Post Requirements

1. Mode:   Buy  Rent
Property Type:   in check box
All Residential
Residential Apartment
Independent House/Villa
Residential Land
Independent/Builder Floor
Farm House
Serviced Apartment
Studio Apartment
Other

* Name:   
* Email:   
* Phone:   
* Budget: to  ( It depence on Buy or Rent choice )
* City

SUBMIT

It need to store in DB and send email to Admin.
------
Thanks in Advance ! !
« Last Edit: August 21, 2012, 09:21:25 am by send4radha »

send4radha

  • Newbie
  • *
  • Posts: 40
Re: Custom form page : submit form
« Reply #1 on: January 07, 2013, 08:01:37 am »
Go to create new page from the Pages tab on the admin panel
Enter a custom internal name, for example my_custom_page
Enter a tittle, body could be left empty
Create your custom file, call it page-my_custom_page.php
Upload it to your theme folder. If your theme folder is modern, upload it to oc-content/themes/modern

Turbomortel

  • Newbie
  • *
  • Posts: 8
Re: Custom form page : submit form
« Reply #2 on: March 06, 2014, 01:11:58 am »
Hi guys

Is someone can be more accurate than the previous reply, please ?
I mean in wich pages/function my custom form is processed ?



Turbomortel

  • Newbie
  • *
  • Posts: 8
Re: Custom form page : submit form
« Reply #3 on: March 06, 2014, 08:34:05 pm »
Please just give me which file/controller is used  :D

Turbomortel

  • Newbie
  • *
  • Posts: 8
Re: Custom form page : submit form
« Reply #4 on: April 02, 2014, 08:09:13 pm »
up

I still couldn't find any information about this process


design

  • Hero Member
  • *****
  • Posts: 2619
  • Osclass 3.5 MAC/PC w/ Modern Browsers
Re: Custom form page : submit form
« Reply #5 on: April 03, 2014, 01:43:35 am »
1. can use custom fields
2. can't use real-estate theme or plugin attributes, and modify the css to your needs.

you use the page template in your folder, usually called page.php to create your page, form etc (will not save to database or be searchable with core functions though)
then save the page as page_form.php

go into admin >>page>> create new>> fill in only title, and what you named the page sans page_   so "form" in the Internal name field.

select show in footer, so you can grab the url (uncheck when done)

ETA

to call it out on your new page....

           <a href="<?php echo osc_base_url(); ?>form-p27">
            <?php _e('Form', 'your theme name'); ?>
            </a>
« Last Edit: April 03, 2014, 01:48:34 am by design »

al

  • Newbie
  • *
  • Posts: 17
Re: Custom form page : submit form
« Reply #6 on: November 07, 2017, 02:15:53 am »
Hi,

I've the same requirements. I've build my custom page and I can display it.
But how can I handle submition and process form params ?

Thanks

allindiabookhub

  • Newbie
  • *
  • Posts: 4
Re: Custom form page : submit form
« Reply #7 on: August 08, 2018, 06:39:08 pm »
HELLO EVERYONE,

IT SEEMS THAT YOU GUYS ARE IN TROUBLE..... DON'T WORRY!!!

I ALREADY CREATED A VIDEO ON 'HOW TO CREATE CUSTOM FORM PAGE ON OSCLASS'
LINK: https://www.youtube.com/watch?v=BV6vqo_0OT4&feature=youtu.be

THIS 4 MIN. VIDEO WILL SAVE YOUR DAY AND TIME....

allindiabookhub

  • Newbie
  • *
  • Posts: 4
Re: Custom form page : submit form
« Reply #8 on: August 08, 2018, 06:40:11 pm »
Hello All,

submit form similar to contact form

I am making a realestate website and I need make Custom form page for the user to post their requirement.

Form fields are as follows.

Post Requirements

1. Mode:   Buy  Rent
Property Type:   in check box
All Residential
Residential Apartment
Independent House/Villa
Residential Land
Independent/Builder Floor
Farm House
Serviced Apartment
Studio Apartment
Other

* Name:   
* Email:   
* Phone:   
* Budget: to  ( It depence on Buy or Rent choice )
* City

SUBMIT

It need to store in DB and send email to Admin.
------
Thanks in Advance ! !

HELLO EVERYONE,

IT SEEMS THAT YOU GUYS ARE IN TROUBLE..... DON'T WORRY!!!

I ALREADY CREATED A VIDEO ON 'HOW TO CREATE CUSTOM FORM PAGE ON OSCLASS'
LINK: https://www.youtube.com/watch?v=BV6vqo_0OT4&feature=youtu.be

THIS 4 MIN. VIDEO WILL SAVE YOUR DAY AND TIME....

allindiabookhub

  • Newbie
  • *
  • Posts: 4
Re: Custom form page : submit form
« Reply #9 on: August 08, 2018, 06:41:21 pm »
Hi,

I've the same requirements. I've build my custom page and I can display it.
But how can I handle submition and process form params ?

Thanks

WATCH THIS VIDEO AND LEARN 'HOW TO CREATE CUSTOM FORM PAGE ON OSCLASS'
LINK: https://www.youtube.com/watch?v=BV6vqo_0OT4&feature=youtu.be