Skip to content

How to make SER to "check" the un-specified checkbox on a page

Hi @sven, I am currently optimize the buddypress engine, I notice there is various checkbox with non-pattern names like "field_123", "field_343", etc. on a register page on some buddypress sites, I can't manually set the value in the script one by one...
Is there a variable like "set unknown checkbox = %checked%" that can be add in the script to force SER to check the unknown checkbox?

Please advise.
P.S, I sent you the sample site via PM.

Comments

  • SvenSven www.GSA-Online.de
    you can use either masks like field_*=1 (1=checked, 0 = unchecked) or better, use the textlabel in front of that to specify the checkbox and then =1 or =0
  • The method "field_*" won't work because there are other fields use the "field_" as prefix, 
    Matching the text is not ideal either, because there are many non-english language sites.

    Still, if there is a variable "set unknown checkbox=1" would be ideal,
    Please consider to add this feature, thanks in advance.

  • SvenSven www.GSA-Online.de
    set unknown variable=1
  • Thanks, it works in most case.
Sign In or Register to comment.