I am trying to submit a form with 2 fields with the same name but different type. I can identify the correct field I want by the field type or the number. Whats the best way of setting the correct field without iterating through all the fields?
Share
Here is the signature of set_value() method of HTMLForm class.
As you can see, you could specify
typeparameter, useful in this case to select the proper field.