i want to add asterik in front of all mandotry fields , but problem is that
form is built in CRUD ,so how can i add asterik
i made module off asterik addition but it's not printing in its accurate
location .
Example:
UserName: *[--------------------------]
i want this asterik at this position and in red color
UserName: [--------------------------]**
MY Code:*
class UiUtils:
@staticmethod
def AddAsterik(form, elementId):
asterik = SPAN('*WAQAS')
form[0].insert(-0.5, asterik)
# form[0].element(elementId).insert(-1, asterik)
--
---
You received this message because you are subscribed to the Google Groups
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.