msr79526
(SR Official)
September 27, 2021, 6:07am
#1
Hello , i am trying to add hyperlink to my text. but the text becomes white. why I don’t know. I enabled HTML format & clickable
<p>By continuing,you agree to our <a href="https://fastvai.com/landingpage/tc/">Terms and Conditions</a> and <a href="https://fastvai.com/landingpage/privacy/">Privacy Policy</a> </p>
Shreyaa
(shreya )
September 27, 2021, 6:10am
#2
Insert your text between <u> and </u>
just like
<u>your text</u>
label text color to blue
maybe i guess
i got from here
msr79526
(SR Official)
September 27, 2021, 6:12am
#3
yes. it will be blue. i check the preview in wcschool HTML. but in-app it becomes white
Try to use span and enclose span in <a href=
example
<p>By continuing,you agree to our <a href="https://fastvai.com/landingpage/tc/"><span style="color:#ff914d">Terms and Conditions</span></a> and <a href="https://fastvai.com/landingpage/privacy/"><span style="color:#ff914d">Privacy Policy</span></a> </p>
msr79526
(SR Official)
September 27, 2021, 6:15am
#5
why your reply doesn’t come fully
msr79526
(SR Official)
September 27, 2021, 6:29am
#7
same result. but that was showing exactly in companion
Can u add a new label and on click, set activity stater… and bla bla bla…
dora_paz
(Dora)
September 27, 2021, 7:16am
#9
Try using font color like this cause I think Kodular uses html4
<p>By continuing,you agree to our <font color="blue"><a href="https://fastvai.com/landingpage/tc/">Terms and Conditions</a></font> and <font color="blue"><a href="https://fastvai.com/landingpage/privacy/">Privacy Policy</a></font></p>
2 Likes
msr79526
(SR Official)
September 27, 2021, 10:49am
#11
if i have two link in one text then?
msr79526
(SR Official)
September 27, 2021, 11:08am
#13
how to do this for two link in one label. how can i detect
dora_paz
(Dora)
September 27, 2021, 12:35pm
#14
Maybe this extension might help
StyleTextUtils Extension
Hello everyone, Today I’m launching my second extension StyleTextUtils. This extension is used to style the text on the following components
Label , Button , Datepicker , Timepicker, Checkbox , Switch , Textbox , Radio Button
Blocks
[component_event]
Event raises when any clickable text is clicked. The component parameter returns the component on which text was clicked, text parameter returns the text which was clicked
[component_method]
Sets part of the tex…
1 Like
system
(system)
Closed
October 27, 2021, 12:35pm
#15
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.