I'm trying to submit a form using mechanize.
i'm trying to set the field "cams_name" with the value in $name
here is my code
$mech->set_fields( 'file_0' => ( General::DATA_LOC . $file_name ),
$mech->tick( 'terms', 'terms_checked' );
this is the html part of the page
<input type="text" value="Communed" name="cams_name"/>
Communed is supplied by default and am trying to change that to whatever the value is in $name