Web form builder in MULTI-LANGUAGE -...

User 468853 Photo


Registered User
2 posts

This thread is in hope to have enough new integrations for maybe have an upgrade of Web form builder in MULTI-LANGUAGE. such as spanish,french,german,etc...

I'll start this with a thread I finally solved by myself.
------------------------------------------------

Question:

There are some options wich allow us to modify messages sent while filling the form except those two;

1 - Submitting... (Flash Submit Button label)
2 - ... is an invalid email adress, please correct it (message for invalid email)
------------------------------------------------

Response:

1- For the submit button, I simply replace it with a another png image using the xml file. The option is available in the application...but having control on the label's effect would be great.

<submitbutton
name="Submit Button"
x="10"
y="345"
w="100"
h="20"
label="YOUR TEXT HERE"
enabled="false"
fontname="Arial"
image="YOUR IMAGE HERE"
fontcolor="0x000000"
fontsize="12"
></submitbutton>


2- For the invalid email message, it is possible to modify the variable in the xml file;
just add the following code the to xml file:


invalidemailmsg="YOUR NEW MESSAGE HERE"


I got another tip for translation:

In the help file (F1) they explain you can add $form_results in the Custom Page Content to show results in a html page once the form submitted. Well, when I pasted it into my html, utf8's special characters were unreadable (usual french problem).

So I add this code to the php file;

$form_response = utf8_decode($form_response);


just before those lines;

die(str_replace('$form_results', $form_response,
$results_msg));




I hope that helps

Have something to add? We’d love to hear it!
You must have an account to participate. Please Sign In Here, then join the conversation.