Foren

need a CONTACT US form with validation, after submitting shud go to emailId

thumbnail
Zeeshan Khan, geändert vor 12 Jahren.

need a CONTACT US form with validation, after submitting shud go to emailId

Expert Beiträge: 349 Beitrittsdatum: 21.07.11 Neueste Beiträge
Hi guyz.....i have 1 reqirement and its very urgent as i have to show the demo to my CEO today or tomorrow.......so plz a quick reply wiil b gr8....

the requirement is like ---> i have to create a CONTACT US form with some fields, with HTTPS security, on submit it should be validated and the most important is after clicking the submit button it should go to an specific email ID........plz guyz help me out with codes......

THNX !!...
thumbnail
Sandeep Nair, geändert vor 12 Jahren.

RE: need a CONTACT US form with validation, after submitting shud go to ema

Liferay Legend Beiträge: 1744 Beitrittsdatum: 06.11.08 Neueste Beiträge
Hi,

You can use WebForm portlet for the same. Just configure the portlet with whatever custom fields you want and set the email id of the recepient

Regards,
Sandeep
thumbnail
Zeeshan Khan, geändert vor 12 Jahren.

RE: need a CONTACT US form with validation, after submitting shud go to ema

Expert Beiträge: 349 Beitrittsdatum: 21.07.11 Neueste Beiträge
Hi sandeep n thnx 4 ur reply.....

can u plz explain it in a broad way........i mean there are only some fields in webform portlet. If i want to have some more fields fo this CONTACT US form, where should i configure these fields and after clicking the SEND button, how to send this on a specific email ID.....???
thumbnail
Sandeep Nair, geändert vor 12 Jahren.

RE: need a CONTACT US form with validation, after submitting shud go to ema

Liferay Legend Beiträge: 1744 Beitrittsdatum: 06.11.08 Neueste Beiträge
In each of the portlet there is a configure option . Click the configure option on top right of the webform portlet, (the first icon in the set of 3 icons next to maximize and close icon)

Regards,
Sandeep
thumbnail
Zeeshan Khan, geändert vor 12 Jahren.

RE: need a CONTACT US form with validation, after submitting shud go to ema

Expert Beiträge: 349 Beitrittsdatum: 21.07.11 Neueste Beiträge
Hi Sandeep !!

Thnx very much for ur valuable suggestion.......everything is done now....
thumbnail
Zeeshan Khan, geändert vor 12 Jahren.

RE: need a CONTACT US form with validation, after submitting shud go to ema

Expert Beiträge: 349 Beitrittsdatum: 21.07.11 Neueste Beiträge
Hi Sandeep !!


one more thing i want to know......the current format of the WEBFORM is like every field is coming one by one(in a single column), i mean vertically aligned....like first name then down to that last name then down to that and so on...........if i want first name and last name in one row, then in other row role and company and so on, where to make the configurations..........


thnx !!
thumbnail
Corné Aussems, geändert vor 12 Jahren.

RE: need a CONTACT US form with validation, after submitting shud go to ema

Liferay Legend Beiträge: 1313 Beitrittsdatum: 03.10.06 Neueste Beiträge
You can do ths with CSS.
Every row is encapsulated by a span

<span class="aui-field aui-field-text"> 
 <span class="aui-field-content">
              <label class="aui-field-label" for="_1_WAR_webformportlet_INSTANCE_1uLi_field4"> MyName</label>
         <span class="aui-field-element ">
                <input class="aui-field-input aui-field-input-text" id="_1_WAR_webformportlet_INSTANCE_1uLi_field4" name="_1_WAR_webformportlet_INSTANCE_1uLi_field4" type="text" value=""> 
            </span>
     </span>
</span>

You need hard work to get this done. Either alter all spans for divs with javascript or a hook

Please move your question to the appropriate Category: Development ;
This will improve the chance of your questions being answered.
thumbnail
Zeeshan Khan, geändert vor 12 Jahren.

RE: need a CONTACT US form with validation, after submitting shud go to ema

Expert Beiträge: 349 Beitrittsdatum: 21.07.11 Neueste Beiträge
Hi Corné !

ok i will move my question to the DEVELOPMENT category.....can u tell me Corne where to put this code that u pasted...????
thumbnail
Zeeshan Khan, geändert vor 12 Jahren.

to move t he search box over the top banner image of liferay page

Expert Beiträge: 349 Beitrittsdatum: 21.07.11 Neueste Beiträge
Hi every1 !!

i finally able to create a search box on top of my liferay page.........now my manager has asked me to move that search box over the top banner such that the banner image should visible as a background image to that search box........plz help me guyz....how to acheive this requirement......???????
thumbnail
Zeeshan Khan, geändert vor 12 Jahren.

RE: to move t he search box over the top banner image of liferay page

Expert Beiträge: 349 Beitrittsdatum: 21.07.11 Neueste Beiträge
Hi !

its done....thnx