WebSite X5Help Center

 
Terence F.
Terence F.
User

How to add a combo box selector in a page?  en

Author: Terence F.
Visited 2019, Followers 1, Shared 0  

I need to add custom code to a page ie Combobox selector and would like to have an example of this code. Is there any documentation on how do do this?

Thanks

Posted on the
4 ANSWERS
John S.
John S.
User

Hello Terence

Here is an example :

<!DOCTYPE html>
<html>
<body>

<form action="/action_page.php">
<select name="cars">
<option value="volvo">Volvo</option>
<option value="saab">Saab</option>
<option value="fiat">Fiat</option>
<option value="audi">Audi</option>
</select>
<br><br>
<input type="submit">
</form>

</body>
</html>

On the net it should be easy to find information. Try searching for "html combobox"

Kind regards

John S.

Read more
Posted on the from John S.
Terence F.
Terence F.
User
Author

John; I meant adding such code to the X5 page - what is the procedure to do that in Step 4

Thanks

Read more
Posted on the from Terence F.
John S.
John S.
User

Oh - sorry

You put the code in an html-object.

For your information - the email-form-object has the combobox "built in".

Kind regards

John S.

Read more
Posted on the from John S.
Terence F.
Terence F.
User
Author

I finally got around doing this and I would appreciate an extra set of eyes on the redirect function - I don't know why the redirect is not working...

http://www.woodwelder.net/tregarne-products.php

This page has the custom HTML/javascript function to redirect to the 2 shopping cart pages.

What am i doing wrong?

Thanks

Read more
Posted on the from Terence F.