about the code of add a form creation of a new topic
3 posters
Page 1 of 1
about the code of add a form creation of a new topic
about that tuto
https://help.forumotion.com/t131789-add-a-form-on-creation-of-a-new-topic
can this code be apply to contact us page
i didnt try any thing with the code yet
i still wander can this can be used on contact us page and can that code handle Arabic thank you
https://help.forumotion.com/t131789-add-a-form-on-creation-of-a-new-topic
can this code be apply to contact us page
i didnt try any thing with the code yet
i still wander can this can be used on contact us page and can that code handle Arabic thank you
Michael_vx- Forumember
- Posts : 659
Reputation : 29
Language : Arabic and some English
Location : Egypt
Re: about the code of add a form creation of a new topic
Hi
Well, I'm pretty sure you can IF you change the mode but I'm not sure if it'll be able to handle Arabic. Hopefully Ange has a solution so I can pattern over it and make one on French as well '-'.
Regards,
Pizza Boi
Well, I'm pretty sure you can IF you change the mode but I'm not sure if it'll be able to handle Arabic. Hopefully Ange has a solution so I can pattern over it and make one on French as well '-'.
Regards,
Pizza Boi
Pizza Boi- Hyperactive
- Posts : 2016
Reputation : 160
Language : French
Location : Pizza Hut!
Re: about the code of add a form creation of a new topic
Hello Michael_vx,
You have to remove the query search from the condition, and change the pathname to the contact us page path. You also need to change the textarea selected :
It should be able to support Arabic, just write between the single quotes where FORM is.
You have to remove the query search from the condition, and change the pathname to the contact us page path. You also need to change the textarea selected :
- Code:
$(function() {
if (location.pathname == '/contact') {
$('#message').val('FORM');
}
});
It should be able to support Arabic, just write between the single quotes where FORM is.
Re: about the code of add a form creation of a new topic
yeah worked by th way what kind of codes i should use in font moding like bold collor or any thing elseAnge Tuteur wrote:Hello Michael_vx,
You have to remove the query search from the condition, and change the pathname to the contact us page path. You also need to change the textarea selected :
- Code:
$(function() {
if (location.pathname == '/contact') {
$('#message').val('FORM');
}
});
It should be able to support Arabic, just write between the single quotes where FORM is.
topic is solved i guess just tell me the font moding and done
Michael_vx- Forumember
- Posts : 659
Reputation : 29
Language : Arabic and some English
Location : Egypt
Re: about the code of add a form creation of a new topic
For the contact page ? I do not believe those messages have formatting.
Re: about the code of add a form creation of a new topic
Ange Tuteur wrote:For the contact page ? I do not believe those messages have formatting.
about topics formatting !
sorry i didnt say that !
Michael_vx- Forumember
- Posts : 659
Reputation : 29
Language : Arabic and some English
Location : Egypt
Re: about the code of add a form creation of a new topic
You can use bbcode :
or HTML :
It depends on what you're comfortable with using.
- Code:
val('[b][color=red]Field 1:[/color][/b]')
or HTML :
- Code:
val('<span style="color:red;font-weight:bold;">Field 1:</span>')
It depends on what you're comfortable with using.
Re: about the code of add a form creation of a new topic
thanks so much Ange
once again you saved me
topic is solved
once again you saved me
topic is solved
Michael_vx- Forumember
- Posts : 659
Reputation : 29
Language : Arabic and some English
Location : Egypt
Similar topics
» Add a form on creation of a new topic
» html code to post the form in other sites!
» problem for a form on creation of a new topic
» Hope a code for auto hide login, signup form and show the logout form for DIY toolbar
» JS and HTML Form Code
» html code to post the form in other sites!
» problem for a form on creation of a new topic
» Hope a code for auto hide login, signup form and show the logout form for DIY toolbar
» JS and HTML Form Code
Page 1 of 1
Permissions in this forum:
You cannot reply to topics in this forum