Jump to content
UBot Underground

Using IF Then in ui html panel


Recommended Posts

Is there a work around that enables us to use an if then statement in the ui html panel?

 

I may be able to create a number of different ui html panels and use

if x, then html panel1

if y, then html panel2

 

etc.

 

But the html panel is quite large and I need 10 or 12 if then statements

Link to post
Share on other sites

Hey Pftg4,

 

Thanks for the javascript idea. Although it allows me to enter the script into the ui html panel, it does not execute. Any ideas?

 

Basically I want it to check a variable and if that variable = $nothing, then I want it to say something within the html panel.

I tried numerous versions of:

 

<script type=\"text/javascript\">
if ({#Biz_Name} == {$nothing}) alert{(\"Enter The Name of Your Business\")}
</script>

Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...