WebSite X5Help Center

 
Terence F.
Terence F.
User

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

Auteur : Terence F.
Visité 2023, Followers 1, Partagé 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

Posté le
4 RéPONSES
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.

Lire plus
Posté le de John S.
Terence F.
Terence F.
User
Auteur

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

Thanks

Lire plus
Posté le de 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.

Lire plus
Posté le de John S.
Terence F.
Terence F.
User
Auteur

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

Lire plus
Posté le de Terence F.