Formatting text boxes and going to a ‘success’ page after submission
Posted: 29 June 2009 08:47 AM   [ Ignore ]
Newbie
Rank
Total Posts:  1
Joined  2009-06-29

Hi,

thanks for the module.  It will be of great help to our org.

I am just about finished and I am a little stressed with workload so I though I would make use of the forum even though these are probably basic questions:

How can I make the text boxes bigger for both input text boxes and input text areas?? CSS? or Control Panel

&

Having trouble getting the redirect to a success page after submission.

Thanks.

<form name="form" id="form">
<
select name="jumpMenu" id="jumpMenu">
<
option>choose your band</option>
{exp:weblog:entries weblog="music" disable="comments|trackbacks" orderby="stage_date" sort="asc"}    
<option>{name_of_band} {stage_date format="%l, %F %d at %g:%i%a"}</option>
{/exp:weblog:entries}    
</select>
</
form>
</
p>


{exp:freeform:form form_name="band_survey" required="band_contact_name|band_contact_email|band_contact_phone1" notify="me@mail.com" template="band_survey" return=“music“ }


{exp
:weblog:entries weblog="music" limit="1"  }
<p><label for="band_and_stage_time">Band and Stage Time</label>
<
input type="text" name="band_and_stage_time" id="band_and_stage_time" value="{segment_3}"/></p>
{/exp:weblog:entries}

<p>Please provide us with one contact name and info for your band</p>

<
p><label for="band_contact_name">Name</label>
<
input type="text" name="band_contact_name" id="band_contact_name" /></p>

<
p><label for="band_contact_email">Email</label>
<
input type="text" name="band_contact_email" id="band_contact_email" /></p>

<
p><label for="band_contact_phone">Phone (with area code)</label>
<
input type="text" name="band_contact_phone1" id="band_contact_phone" /></p>

<
p><label for="stage_feedback">Feedback:</label>
<
input type="text" name="stage_feedback" id="stage_feedback" /></p>

etc . . .

<
p><input name="Submit" type="submit" value="submit" /></p>
{/exp:freeform:form} 
Profile
 
 
Posted: 30 June 2009 10:08 PM   [ Ignore ]   [ # 1 ]
Administrator
Avatar
RankRankRankRankRank
Total Posts:  8290
Joined  2006-10-18
log_cabin - 29 June 2009 08:47 AM

How can I make the text boxes bigger for both input text boxes and input text areas?? CSS? or Control Panel

CSS or form attributes (I would recommend CSS though) wink

“Old-school” Form Attributes:

<p><label for="band_contact_name">Name</label>
<
input type="text" name="band_contact_name" id="band_contact_name" size="75" /></p>

<
p><label for="stage_feedback">Feedback:</label>
<
textarea name="stage_feedback" id="stage_feedback" rows="5" cols="65" /></textarea></p

CSS:

<p><label for="band_contact_name">Name</label>
<
input type="text" name="band_contact_name" id="band_contact_name" style="width:85px;" /></p>

<
p><label for="stage_feedback">Feedback:</label>
<
textarea name="stage_feedback" id="stage_feedback" style="width:85px;height:45px;" /></textarea></p

log_cabin - 29 June 2009 08:47 AM

Having trouble getting the redirect to a success page after submission.

The trouble is your code has curly quotes on it wink

Change:

return=“music“ 

to:

return="music" 
 Signature 
Profile
 
 
   
 
 
‹‹ Old Documentation      exp_freeform_params ››