Forum Archive - Form action URL

Form action URL
Jan 14, 2013 2:07 pm by Marek Kmiecik
Hello. How to add current language code /en/ (for example) into form action URL attribute ? Current is: <form action="" method="post"></form> I need action attribute including language /en/: <form action="" method="post"></form>
Re: Form action URL
Jan 14, 2013 2:12 pm by Yana
Hi, Joomla holds the language in the session of variable glang. You can use JSession::get('glang'); to get the current selected language .
Re: Form action URL
Jan 15, 2013 6:17 am by Marek Kmiecik
J have no Joomla. This is a simply HTML / PHP website.
Re: Form action URL
Jan 15, 2013 1:21 pm by Yana
Hi, Please read this topic : url-language-code-t320.html?hilit=glang
Re: Form action URL
Jan 16, 2013 9:48 am by Marek Kmiecik
Gtranslate script do not support $_POST variables in forms.


Missing Form Label (WCAG)May 8, 2018 4:04 pmReplies: 3Post by: adam.singer
Gtranslate Pro in formMar 1, 2015 6:40 pmReplies: 3Post by: bitweb
Form not rendering correctJan 24, 2015 5:02 pmReplies: 1Post by: joseph2
Our enquiry form doesn't work in other languagesApr 14, 2014 2:06 pmReplies: 5Post by: rentinthealgarve
Site translating without reason on formFeb 19, 2014 11:47 amReplies: 2Post by: jtcreative

Try GTranslate with a free 15 day trial