I have different areas in my LSQL setup, with different kinds of links, and they have different fields which are required. Obviously, I cannot set the fields as not null, since sometimes they are allowed to be empty.
Anyway, I can make a hook on "user_add_link" to check the validity of certain fields, that's all fine. The problem is that I cannot add anything to the "error" tag (well, I could, but it would be awkward). It would be very handy to have a error_loop tag available, then I could just push my own errors into the error_loop tag.
By the way, there is a "bug" in sub add_link in Links/User/Add.pm. There are two <ul></ul> tags around possible errors, one would be enough I think....
Ivan
-----
Iyengar Yoga Resources / GT Plugins
Anyway, I can make a hook on "user_add_link" to check the validity of certain fields, that's all fine. The problem is that I cannot add anything to the "error" tag (well, I could, but it would be awkward). It would be very handy to have a error_loop tag available, then I could just push my own errors into the error_loop tag.
By the way, there is a "bug" in sub add_link in Links/User/Add.pm. There are two <ul></ul> tags around possible errors, one would be enough I think....
Ivan
-----
Iyengar Yoga Resources / GT Plugins