Registration is currently disabled.
line 968 cforms.php
I have modified this line to output a comment..
$field = '<!-- tata --><select' . $readonly.$disabled . ' name="'.$input_name.'" id="'.$input_id.'" class="cformselect' . $field_class . '" '.$fieldTitle.'>';
and Lo and Behold … View Source… from the rendered form…
<li id="li--4" class=""><label id="label--4" for="cf_field_4"><span>Event Type</span></label><!-- tata --><br /><select name="cf_field_4" id="cf_field_4" class="cformselect" >
Now, I'm trying to get rid of the <br /> before the <select as it is stuffing up the rendering of the select boxes in the form. But, for the life of me, I can't see in the code where this is getting added in.
I added the comment in to see where the correct render line was in the code, but the <br /> seems to be coming from outside the plugin. Any ideas? This only appears to happen for "Select" type fields…
March 6, 2005
This is your WP core or WP theme interfering with cforms and adding BR and P tags via the WP autop filter.
I'll change the position/priority of cforms in the chain of functions called by WP, which hopefully should fix this. Try yourself, simply open cforms.php, at the end of the file, look for:
change to the above or an even higher number to see if that fixes your issues.
Most Users Ever Online: 959
Currently Browsing this Page:
Guest Posters: 3693
Newest Members: juredujmovic, dreamkeeper, rajattyagi, wrokaa, lukass
Moderators: Paul (421), cnymike (8), sonika (95)
Administrators: Oliver (6400), Nicky (3)