Adding white space in a form field

Hello all,
anyone know if it is possible to add whitespace in a form field.
I have an IF like this ....
<?if:WORKSITE_ADDRESS2=''?>
<?WORKSITE_ADDRESS3?> <?WORKSITE_ADDRESS4?> <?end if?>
I need a space to appear in between WORKSITE_ADDRESS3 and WORKSITE_ADDRESS4.
I can not figure out how to do that ? is it possible ? the results I get are that
the two values are shown with no space in between. Do I have to use separate form fields?
Thanks

Hi,
I hit the same issue a while back, the workaround is to use the CDATA tag. See the below post:
Form fields stripping SPACE characters from IF statement
Thanks
Paul

Similar Messages

  • PDF Report adding white spaces

    NEVER MIND.... Why is their no DEL option... Added fm in front of MONTH ('DD fmMONTH YY') and its fixed.
    I have a report that goes to a PDF based on a RTF template. On the Dates, the XML Feed looks fine, but when it generates the PDF it is adding random white spaces in the date.
    XML Feed:
    <REPORT_DATE>31 AUGUST 09</REPORT_DATE>
    <ORDER_DATE>19 AUGUST 09</ORDER_DATE>
    PDF Returns:
    Dated 19 AUGUST 09
    31 AUGUST 10
    so the year is seperated from the month. The SQL is a TO_CHAR(ORDER_DATE, 'DD MONTH YY') and so on...
    Any thoughts from anyone??? Please.....
    Edited by: Matt.Smith on Aug 26, 2009 7:56 AM

    Because instead of editing your previous message, it is a better practice to add a new message and CLOSE the thread there. Allows people to see the thread properly..
    Thank you,
    Tony Miller
    Webster, TX

  • White space around web form

    Hi all!
    I have my form set to maximize, but I'm getting about 5 or 6 pixels of white space border all the way around my form in the frame that it's in. Any idea how to make it take advatange of all the space??
    Thanks!
    Steve

    Hi Steve,
    Check your base html file for the values of HSPACE and VSPACE, they should be zero.
    If you run in seperateFrame=False then put topmargin and leftmargin in the body tag like:
    <BODY topmargin="0" leftmargin="0">
    That should help.
    Good luck,
    Michiel

  • White space when running forms in web browser

    Hi I am running a simple master - detail form in web browser on my machine . The form is coming fine but a lot of white space of present on the right hand side of the form how can i eliminate that?I have checked my html file and HSPACE="0" and VSPACE="0". what else can be the reason?

    are you running in seperateframe=true?
    if not you could check your width and height properties of your formsweb.cfg config section
    regards

  • Please help! Need to remove white space in a form.

    https://acrobat.com/app.html#d=620D971lGreChvoYewoeng
    I have uploaded part of my form. When the user checks all of the boxes they want on their form and hit the submit button, the unchecked boxes disappear...which is what  want.
    What I cannot get the form to do is remove the remaining white space within that subform so the overall form shortens. I have had my head in  this for a bit and a deadline is looming!
    Thank you to anyone in advance who can help!

    Hi Srini,
    I honestly do not know how to thank you!! You are a life saver.
    I see exactly what you did and it makes perfect sense. Thank you for providing a solution and in this manner. You helped me...and I have learned something new and very helpful.
    Best regards,
    Lea

  • Adding white spaces between strings during concatenation in JSTL

    Please provide a way to add white space between strings during concatenation in JSTL.
    I tried the following.
    eg:
    <c:set var="even_odd" value="odd">
    <c:out value="first ${even_odd}"/>
    I want the output string as "first odd ".
    Moreover i am using the above value for generating the class attribute of a row of a table like
    <tr class=<c:out value="first ${even_odd}"/>>
    while printing the value of <c:out value="first ${even_odd}"/> in the page,i am getting correctly as i needed as "first odd".
    But while taking the code of the page while rendering by the browser, it is showing like
    <tr class="first" odd="">
    I think the white space is the problem.
    Please provide any solution or hint.

    <tr class=<c:out value="first ${even_odd}"/>><tr class="first ${even_odd}">

  • XSL processor adding white space

    Hi,
    Is it possible to prevent the XSL processor from inserting
    white space as this can affect HTML table layout & other
    things.
    For example.
    XSL contains the following: (On one line)
    <td colspan="2" bgcolor="#000066"><img
    src="/images/global_spacer01.gif"/ width="1" height="1"/></td>
    is converted to (Three lines)
    <td colspan="2" bgcolor="#000066">
    <img rc="/images/global_spacer01.gif"/ width="1" height="1">
    </td>
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    null

    Dougall Squair (guest) wrote:
    : Hi,
    : Is it possible to prevent the XSL processor from inserting
    : white space as this can affect HTML table layout & other
    : things.
    : For example.
    : XSL contains the following: (On one line)
    : <td colspan="2" bgcolor="#000066"><img
    : src="/images/global_spacer01.gif"/ width="1" height="1"/></td>
    : is converted to (Three lines)
    : <td colspan="2" bgcolor="#000066">
    : <img rc="/images/global_spacer01.gif"/ width="1"
    height="1">
    : </td>
    : ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    null

  • Adding 5 mins to a form field, in a library

    Hi guys,
    Im having a bit of trouble and would really appreciate some help.  I have a date field in my form (date.start_time) in which I want to reference in a library and add 5 mins to the time (since its in the lib I am coding this I need to use name_in ).  My current code is:
    copy(name_in('date.start_datetime')+5/24/60 , 'DATE.END_DATETIME')
    However, this seems to be erroring, could anyone help me out please?
    Any help greatly appreciated.

    You have to use TO_CHAR because NAME_IN and COPY use varchar2 as datatype. There is a application-property BUILTIN_DATE_FORMAT (don't remember the exact name) where you get the format you need to use, it should look similar to
    vcDateFormat:=GET_APPLICATION_PROPERTY(BUILTIN_DATE_FORMAT);
    copy(TO_CHAR(TO_DATE(name_in('date.start_datetime'), vcDateFormat) +5/24/60 , vcDateFormat), 'DATE.END_DATETIME');

  • Adding white spaces

    Hi everyone;
    How would I add a certain number of white [blank]spaces to the end of a string? I know how to add a space, but don't know how to add more than one. Thanks in advance.

    there are several ways. Here is one:
    for (int x = 0; x < spaces; x++) {
    stringBuffer.append(" ");
    return string.toString();

  • Adding White Space

    I am trying an example form "Professional Java XML" book about creating a simple DOM tree. The problem is that the Output XML is without new line (i.e. the all tags are one the same line)
    does any body know how to toggle this problem, please your help?
    I am using the following code:
    import org.w3c.dom.*;
    // We are going to use JAXP's classes for DOM I/O
    import javax.xml.parsers.*;
    import javax.xml.transform.*;
    import javax.xml.transform.stream.*;
    import javax.xml.transform.dom.*;
    // Import other Java classes
    import java.io.PrintWriter;
    import java.io.IOException;
    public class CreatePresident {
    public static void main(String[] args) {
    Document doc;
    Element president;
    Element person;
    Element firstName;
    Element surname;
    try
    // This is JAXP's way to create a new empty Document
    // The lines within the {} braces are NOT DOM level 1
    DocumentBuilderFactory dbf = DocumentBuilderFactory.newInstance();
    dbf.setValidating(true);
    dbf.setIgnoringElementContentWhitespace(true);
    DocumentBuilder db = dbf.newDocumentBuilder();
    doc = db.newDocument();
    // We'll start by creating a "<Person>"
    person = doc.createElement("Person");
    // No create the "<FirstName>" element
    firstName = doc.createElement("FirstName");
    // Create a Text node "George" and add it to the "FirstName" tag
    firstName.appendChild( doc.createTextNode("George") );
    // Add the "<FirstName>" tag to "<Person>"
    person.appendChild(firstName);
    // Same as above
    surname = doc.createElement("Surname");
    surname.appendChild( doc.createTextNode("Bush") );
    person.appendChild(surname);
    president = doc.createElement("President");
    // Set the "Country" attribute in "<Presedent>"
    president.setAttribute("Country","US");
    president.appendChild( person );
    // Add everything to the XmlDocument (doc)
    doc.appendChild( president );
    // This is JAXP's way to output a DOM to a OutputStream
    // The lines within the {} braces are NOT DOM level 1
    TransformerFactory tFactory = TransformerFactory.newInstance();
    Transformer transformer = tFactory.newTransformer();
    transformer.transform(new DOMSource(doc), new StreamResult(System.out));
    catch( ParserConfigurationException pcEx )
    System.out.println("ParserConfigurationException: "+pcEx.getMessage());
    pcEx.printStackTrace();
    catch( TransformerConfigurationException tcEx )
    System.out.println("TransformerConfigurationException: "+tcEx.getMessage());
    tcEx.printStackTrace();
    catch( TransformerException tEx )
    System.out.println("TransformerException: "+tEx.getMessage());
    tEx.printStackTrace();
    Regards

    Transformer transformer = TransformerFactory.newInstance().newTransformer();
    transformer.setOutputProperty(OutputKeys.INDENT, "yes");
    transformer.setOutputProperty("{http://xml.apache.org/xslt}indent-amount", "2");
    transformer.transform(new DOMSource(doc), new StreamResult(out));

  • A form field to insert white space

    Hi all,
    I need to insert some white space (the number of these white space is depending to some condition) in a form field.
    I show in my report a value and then I must complete this value with some white space to have finally a string with a fixed number of characters.
    I have a form field with a value (<?VALUE?>) and then I would insert a new form field to show only some white space. I can not add these white space directly on the field form containing the value.
    Thanks

    Balaji wrote:
    I need insert white space into table which a VARCHAR2 column. Just insert it, Whats the issue?
    I would like to validate the below expression against the data in the column \S.* What is this expression and where did you get it from?
    I guess this pattern validates for non-whitespace characters. Anyone help me on this and explain what this pattern does?No in regular expression space is represented as [:space:]
    Please read {message:id=9360002}

  • Link a Form Field to new Text Field

    PDF - form field
    Looking for a code to link a form field(text_1, on page #5) to
    another, new form field(text_2, on pages 2-4).
    Maybe a "Page Properties" action (i.e., Page Open: field text_2 = field text_1)
    ~~
    Why....
    busy but here's why
    In the PDF, there are Form fields on page 5 which interface (externalinterface) with an RMA ( a SWF) on page 2.
    This all works well.
    As the form fields must be carried forward (from page 5 to page 2... to interface the RMA),
    the orignal page 5, From fields are copied to pages 2-4 and then "Hidden".
    Again, this works just fine.
    A reset "action" (button) was added to, well, clear the Form Field for easy reuse.
    The reset ''action' does it's job and clears ALL form fields with the same "Name".... on every /all pages.
    This causes the dynamic interface, with the RMA, to display blank fields (within the SWF).
    This will effect the User's experience.
    ~~
    Work aound.....
    Find a way to label the Form Fields (page 5) so that "only they" are reset, and no others.
    Create a link of Form Field inputs on page 5 (with names... x,y,z),
    to new Form Fields pages 2-4 (with a differnet names... a,b,c).
    Thanks in advance for your help....
    DS

    Hi jm,
    This may be what you are after. No text wrap, but notes are there.
    Type an account number into the Enquire table to get Client and Contact
    Formula in B2 (and Fill Right)
    =INDEX(Database::B,MATCH($A2,Database::$A,0))
    Large notes display table with Wrap Text
    Formula is
    =INDEX(Database::D,MATCH(Enquire::$A2,Database::A,0))
    All together:
    Change it around if you want to look up by Client instead of Account
    Regards,
    Ian.

  • Copy and Paste from Safari to MS Word Text Form Field adds a trailing space

    I know this is just a minor issue, but an inconvenience for me nonetheless.
    When I go to the same page and copy and paste the same text from Firefox, the trailing space is not added.
    What I find puzzling is that when I paste the same copied text into notepad from Safari, it does not add the trailing space.
    So it is likely an issue with MS Word's method of pasting text, but strange to me that it does not happen from Firefox.
    Is there a way to inspect the exact contents of the clipboard to see if there are any differences?
    I just did a little bit more testing, and found that Word only adds an trailing space when I paste into a "Text Form Field" from only Safari.
    Maybe the solution is to stop using MS Word. (Ha, Ha)

    OK, I think I found another way to describe my issue:
    When I copy text from a webpage in Safari, some form of "meta-information", or formatting data, is kept, and when I paste into MS Word, the formatting from the webpage is retained. In my default setup of Firefox, this formatting meta-information is not retained, it only copies the plain-text.
    So my question is actualy: How do I prevent Safari from retaining formatting data, and only copy the plain-text?
    I have been testing some clipboard managers, and have yet to find one that will auto-filter out formatting data from text that I copy, but they can after interaction.
    The other, current, method I have been using is to:
    1. select and copy the text in Safari
    2. paste text into notepad
    3. select and copy text from notepad
    4. paste de-formatted text into MS Word
    Or in Firefox:
    1. select and copy the text in Firefox
    2. paste text into MS Word (no formatting retained)

  • White space after flowed layout/expandable fields?

    Hi,
    I have a few pages on a form with a flowed layout where the text fields expand.The problem I am having is when the text field expans and continues on the following page,its leazing an entire white space right after it.Is there a way to do this so eventhough the text field expands onto the next page,the content on the next page continues right after the expanded field without a page of white space?
    Thanks.

    Hi,
    You need to check Allow page breaks within content option for the subform. Object > Subform >  Allow page breaks within content.
    By default even for the field this option would be checked if it is not You need to do samething even for the field.
    This would work.
    -Vjay

  • White Space After Form

    I have a Salesforce form embeded into two pages on my website.  Both pages have extra white space at the bottom and I can't decrease the height of the embedded HTML form in order to bring the footer up.  Both forms can be found here: http://www.beck-technology.com/form.html and http://www.beck-technology.com/student_form.html.
    Any ideas on how to decrease the white space?

    Hello,
    If you have removed the fields from the form, then you need to go to another state of the form and re-place the status message as well, to be able to shrink the form's frame. More details can be found here: http://forums.adobe.com/message/5240984#5240984
    Cheers
    Parikshit

Maybe you are looking for

  • F110 Reference fiend in ZP document

    When making a payment document through the transaction F110 Automatically generates a document ZP. From which brings the data to generate the document?. I need to know how to complete the Reference field of the header. Thank you. regards

  • This is my problem with nokia 5800:

    this is my problem with nokia 5800: my phone is updated. sorry my english isn't good 1. music player have too much problem and player hang too much,too much ,too much.and earased playlist and all songs in playlist and from music player then i should

  • SPARC-10 Boot Failure-HELP!

    We routinely use ufsdump/ufsrestore to pre-configure systems before field deployment. Suddenly, disks built this way won't boot! Errors are: short read 0x2000 characters read disk read error <above repeated 2 - 6 times> boot: can't find /misc/krtld b

  • HT201250 running 32bit programs in 64bit windows 7

    My Panasonic camcorder's (SDR-H280) video editing software's (Videocam suite 1.0) upgrade for Winow 7 does not run on Window 7 64bit. I have recently installed WOW64 but cannot run and also the problem is not solved. Please help.

  • Understanding number datatype [A help for beginners]

    I would like to share some practical aspects of Oracle Number datatype. Please visit following link. http://mamohiuddin.blogspot.com/2007/03/practical-approach-to-understand-oracle.html Thank you, aijaz