• mstudioIL

    (@mstudioil)


    I use this code on my forms, I have different from for 3 languages
    [select* form-main-country data:countries.olympic id:form-main-country include_blank]
    and want to set the include_blank text, now I doing it with JS, it is small number of rows, but I want to know if there is a better way? There is no language plugin since the other languages are only two pages.

Viewing 8 replies - 1 through 8 (of 8 total)
  • Plugin Author Takayuki Miyoshi

    (@takayukister)

    Where can we see the website in question?

    Thread Starter mstudioIL

    (@mstudioil)

    Hey, you see this page https://meditrac.co.il/contact-us/ has the forms, I changed the text with JS, but on side there is image that opens popup and this form don’t get the JS.

    Plugin Author Takayuki Miyoshi

    (@takayukister)

    Is the link correct? I couldn’t access it.

    Thread Starter mstudioIL

    (@mstudioil)

    Yes, link is working, are you getting error?

    Plugin Author Takayuki Miyoshi

    (@takayukister)

    Now I can access the page. Seemingly the include_blank and data:countries.olympic options are working as expected. What problems do you have with it?

    Thread Starter mstudioIL

    (@mstudioil)

    I want to be able to set text show as the include_blank with JS, the clients can’t use JS as I do, and I want they have option to do so.

    Plugin Author Takayuki Miyoshi

    (@takayukister)

    You don’t need to use JavaScript for that. The simplest alternative would be use of the first_as_label option.

    [select* form-main-country data:countries.olympic id:form-main-country first_as_label "SELECT COUNTRY"]
    Thread Starter mstudioIL

    (@mstudioil)

    Thanks, so this way “SELECT COUNTRY” will be the the first option on the list or it will show as label before the select?

Viewing 8 replies - 1 through 8 (of 8 total)
  • You must be logged in to reply to this topic.