Custom HTML Properties

Not from the same form but here is another project that I am working on that has the same requirement for the badge:

CompetiorTable Form:

from anvil import *
import anvil.server
import tables
from tables import app_tables

class CompetitiorTable (CompetitiorTableTemplate):
  def __init__(self, **properties):
    # You must call self.init_components() before doing anything else in this function
    self.init_components(**properties)

    # Any code you write here will run when the form opens.
    
    if self.item['keyword']['keyword'].lower() in self.item['title'].lower():
      self.inTitle.text = 'Yes'
    else:
      self.inTitle.text = 'No'
    
    if self.item['keyword']['keyword'].lower() in self.item['description'].lower():
      self.inDescription.text = 'Yes'
    else:
      self.inDescription.text = 'No'

Dashboard Form that uses Competitor Form as a Repeating Panel:

from anvil import *
import anvil.server
import tables
from tables import app_tables

class Dashboard (DashboardTemplate):
  def __init__(self, **properties):
    # You must call self.init_components() before doing anything else in this function
    self.init_components(**properties)

    # Any code you write here will run when the form opens.
    

  def GetInfo_click (self, **event_args):
    # This method is called when the button is clicked
    
    self.keyword = anvil.server.call('save_keyword_search',self.keywordBox.text,'10')
    self.competitorRepeatingPanel.items = anvil.server.call('get_videos',self.keyword['keyword'])
    self.resultsLabel.text = "{:,}".format(self.keyword['results'])
    self.results_panel.visible = True

So on the competitor table form. I will want to add a badge to each row that will be dependant upon a variable that I will be bringing in.

The issue is I cant seem to call call_js from the competitors form

Hope that helps and thanks for your time and help David.