<# start form; set form.class to "form-horizontal"; when processing and ("<# form.phone #>"!="") send sms; to = "<# form.phone #>"; message = "<# form.message #> - Sent By <#[system.user_ip_address]#>"; when done redirect to "/sms/action-only-form-landing"; #> <div class="form-group"> <label for="first_name" class="col-sm-3 control-label">First Name</label> <div class="col-sm-6"> <input type="text" <# first_name #> class="form-control" id="first_name"> </div> </div> <div class="form-group"> <label for="last_name" class="col-sm-3 control-label">Last Name</label> <div class="col-sm-6"> <input type="text" <# last_name #> class="form-control" id="last_name"> </div> </div> <div class="form-group"> <label for="phone" class="col-sm-3 control-label">Phone</label> <div class="col-sm-6"> <input type="text" <# phone #> class="form-control" id="phone"> </div> </div> <div class="form-group"> <label for="message" class="col-sm-3 control-label">Message</label> <div class="col-sm-6"> <textarea <# message #> required rows="3" class="form-control" id="message"></textarea> </div> </div> <div class="form-group"> <div class="col-sm-offset-3 col-sm-6"> <input type="submit" <# process button #> class="btn btn-primary" value="Send Message"> </div> </div> <# end form #>