Your suggestions please on how to add these

Hi there.
CS3, PHP & mySQL.
Busy finishing a site for real estate agent and now running
out of
ideas.
When adding records, I currently have radio buttons for
things like:
swimming pool, jacuzi, irrigation, fireplace, ect.
If the house has a swimming pool, click the radio button. If
it does
not, don't tick the radio button. At the moment every radio
button has
it's own name and value (swimmingpool).
Problem:
When submitting, errors telling me that the un-ticked columns
cannot be
NULL.
Now, also what I want to accomblish, is this:
On the details page, I want the words of the buttons that
have been
ticked, must be displayed as part of an un-numbered list
(Bullets). When
there is a swmming pool (and all the other extras that are
available),
it must be displayed as:
* Swimming Pool
* Jacuzzi
* Fire place
When there is no Fire Place, the bullet with the word (* Fire
place)
must not be displayed.
I will really welcome any suggestions on how to accomplish
this. I don't
want to have a list of 10 extras saying:
* Swimming Pool: Yes
* Jacuzzi: No
* Fire place: No
You can have a look here under "Other Features" in the middle
of the
page.
Thanx for your ideas and suggestions.
Regards,
Deon

On 01 Mar 2009 in macromedia.dreamweaver, Deon H wrote:
> Hi there.
>
> CS3, PHP & mySQL.
>
> Busy finishing a site for real estate agent and now
running out of
> ideas.
>
> When adding records, I currently have radio buttons for
things like:
> swimming pool, jacuzi, irrigation, fireplace, ect.
>
> If the house has a swimming pool, click the radio
button. If it does
> not, don't tick the radio button. At the moment every
radio button
> has it's own name and value (swimmingpool).
>
> Problem:
> When submitting, errors telling me that the un-ticked
columns cannot
> be NULL.
Radio buttons are to be used for situations where you can
select one and
only one alternative. So if you want to use radio buttons,
you'll want
to use something like:
Fireplace 0 yes 0 no
and set no as the default value. Otherwise, use checkboxes.
> Now, also what I want to accomblish, is this:
> On the details page, I want the words of the buttons
that have been
> ticked, must be displayed as part of an un-numbered list
(Bullets).
> When there is a swmming pool (and all the other extras
that are
> available), it must be displayed as:
> * Swimming Pool
> * Jacuzzi
> * Fire place
<ul>
<?php if ($row_Recordset1['fireplaceValue'] == 'yes') {
echo "<li>Fireplace</li>\n"; } ?>
</ul>
This will need some tweaking for the case where there are no
extras
(although an empty <ul></ul> doesn't display
anything...).
> When there is no Fire Place, the bullet with the word (*
Fire place)
> must not be displayed.
>
> I will really welcome any suggestions on how to
accomplish this. I
> don't want to have a list of 10 extras saying:
> * Swimming Pool: Yes
> * Jacuzzi: No
> * Fire place: No
>
> You can have a look here under "Other Features" in the
middle of the
> page.
URI?
Joe Makowiec
http://makowiec.net/
Email:
http://makowiec.net/contact.php

Similar Messages

  • How to add these system in the system ID list?

    Hello:
        Now I have a another problem in Setting Up Central Auto-Reaction Methods.I have created in solution manager,  In the system ID list,I want to have development system ,production system,and other system,because I want to alert these system,but I don't know how to add these system in the system ID list?Dose it need RFC?
        Please someone tell me.
         lexian
         Thanks a lot!

    Lexian,
    You need to some of these things for the SAP systems to show up in Solution Manager
    1. Install the Monitoring Agents (SAPCCM4X for ABAP instance and SAPCCMSR for J2EE instance etc)
    2. Configure RFCs from Solution Manager to the Satellite (SAP) systems.
    3. Create CSMREG user.
    4. Create Monitoring jobs.
    These are just some of the things that you will have to do. Refer this link on how to do this
    http://help.sap.com/saphelp_nw04/helpdata/en/c4/3a7da1505211d189550000e829fbbd/frameset.htm.
    This is for the broader view of the entire thing
    http://help.sap.com/saphelp_nw04/helpdata/en/c4/3a7da1505211d189550000e829fbbd/frameset.htm
    I would suggest starting with the second link.
    Let us know if you have any questions
    Kunal

  • HT1199 I need your help, PLEASE. How can to fix "NO MOUNTABLE FILE SYSTEM" error of my back up hard drive on Mountain Lion OS?

    I need your help, PLEASE. How can to fix "NO MOUNTABLE FILE SYSTEM" error of my back up hard drive on Mountain Lion OS?

    Did you format the drive for Mac use before you tried to use it as a backup drive?
    Are you using Time Machine on the drive? You can't view the contents of its backup database and the only way to access the info is directly from the Time Machine app.

  • How to add these modules?

    Hi everyone, how can i add these modules listed below? I tried to query them but can't find them. Are they part of another module or what?
    •     General Ledger
    •     Accounts Payable
    •     Fixed Assets
    •     Payments & Collections
    •     Accounts Receivable
    •     Cash & Expense Management
    •     Project Costing
    •     Project Billing
    •     Purchasing
    •     Self-Service Procurement
    •     Sourcing
    •     Procurement Contracts
    •     Supplier Portal
    •     Inventory Management
    •     Reporting
    •     HR
    •     Cost Management
    •     Product Master Data Management
    •     Order Management
    If someone can help me figure out how to get these added I would really appreciate it.
    Thanks!

    Hussein Sawwan wrote:
    Please post the details of the application release, database version and OS.
    Hi everyone, how can i add these modules listed below? I tried to query them but can't find them. Are they part of another module or what?Where do you want to add them?
    You can check if those modules are licensed from OAM -- http://docs.oracle.com/cd/E18727_01/doc.121/e12894/T202991T469980.htm#zzbegin
    If you want to add the responsibilities, navigate to System Administrator > Security > User > Define, query your username and assign the responsibilities.
    Thanks,
    HusseinI'm sorry, I didn't word my post correctly. I'm running 12.1.1, db 11gR2 11.2.0.2 on OEL 5.7. I installed with Vision Demo Database
    What I meant to ask is how do I add those responsibilities to a user. When i query the names listed above. I can't find a match for most of them.

  • Advice please on how to add a shopping cart in iweb

    Hi
    I am going to re-vamp my iweb created website and was wondering if anyone could advise me on how to add a shopping cart please, and which one would you suggest...? Paypal...?
    I use GoDaddy to host my site and publish through MobileMe.
    Also, bit of a two part question.... Can I use simpleviewer on my iweb created site... is it compatible...?
    I would like to go with iweb but may consider other options if this is not possible..
    Thanks for any help
    Gerry....

    Sorted...

  • I can not add the warning before buying an app. Could you please explain how to add this warning

    Please tell me how to add the warning before purchasing an app?

    Hey klw67
    Thanks for the question. Are you referring to the prompt for your password? If so, this can be achieved by utilizing the Restrictions (parental controls) of the specific device. For information on setting up and using Restrictions, see this resource:
    iOS: Understanding Restrictions (parental controls)
    http://support.apple.com/kb/HT4213
    You can prevent access to specific content types:
    - You can also adjust the time necessary before a password is required to purchase content.
    Thanks,
    Matt M.

  • How to add these symbols to Photoshop

    Hi there,
    I am trying to add some texts to my picture in photoshop and I would like to add symbols like the ones I attached here.
    Does anyone know where to find and how to add them?
    thanks,
    Rose110ca

    You need to ues the text tool from the toolbox. Simply click it and put it on a location you would like to create a text layer.  Once created you can use the selection tool to move it around.
    Vancouver wedding photography <a href="http://www.vividdreams.ca">vancouver wedding photography</a>

  • I need your comments , your suggestions , please.

    Use the necessary facilities of the Java Programming langgue to build a visual calculator which
    can carry out tha following operation. The operation needed are :
    + - * / clear memorize recall
    Each of these operations is represented by a button which a user can press in order to carry
    out the task. This calculator can be used to work out the value of an expression such as :
    23*12+22-3
    Pressing a wrong commbination of keys may gererate a warning sound. Moreover an animated icon should
    be used to indicate when "
    - the calculator is idle and free to be used
    - the calculator is busy ( being used )
    ***** This is the code :
    import java.awt.event.*;//Abstract windows ToolKit
    import java.awt.*;
    public class calculator extends Frame implements ActionListener
    TextField name;
    Label aHeader;
    Button b[];
    String expression;
    public calculator()
    super("DUY 'S CALCULATOR");
    setLayout(new BorderLayout());
    Panel p1 = new Panel();
    p1.setBackground(new Color(18,70,1));
    p1.setLayout(new FlowLayout());
    aHeader = new Label("DUY'S CALCULATOR");
    aHeader.setFont(new Font("Times New Roman",Font.BOLD,24));
    aHeader.setForeground(new Color(255,0,0));
    p1.add(aHeader);
    add("North",p1);
    Panel p2 = new Panel();
    p2.setBackground(new Color(27,183,100));
    p2.setLayout(new GridLayout(0,1));
    name = new TextField(20);
    p2.add(name);
    add("Center",p2);
    Panel p3 = new Panel();
    p3.setLayout(new GridLayout(0,6));
    b = new Button[25];
    b[0] = new Button("MC");
    b[0].addActionListener(this);
    b[1] = new Button("7");
    b[1].addActionListener(this);
    b[2] = new Button("8");
    b[2].addActionListener(this);
    b[3] = new Button("9");
    b[3].addActionListener(this);
    b[4] = new Button("/");
    b[4].addActionListener(this);
    b[5] = new Button("sqrt");
    b[5].addActionListener(this);
    b[6] = new Button("CE");
    b[6].addActionListener(this);
    b[7] = new Button("4");
    b[7].addActionListener(this);
    b[8] = new Button("5");
    b[8].addActionListener(this);
    b[9] = new Button("6");
    b[9].addActionListener(this);
    b[10] = new Button("*");
    b[10].addActionListener(this);
    b[11] = new Button("%");
    b[11].addActionListener(this);
    b[12] = new Button("MS");
    b[12].addActionListener(this);
    b[13] = new Button("1");
    b[13].addActionListener(this);
    b[14] = new Button("2");
    b[14].addActionListener(this);
    b[15] = new Button("3");
    b[15].addActionListener(this);
    b[16] = new Button("-");
    b[16].addActionListener(this);
    b[17] = new Button("1/x");
    b[17].addActionListener(this);
    b[18] = new Button("M+");
    b[18].addActionListener(this);
    b[19] = new Button("0");
    b[19].addActionListener(this);
    b[20] = new Button("+/-");
    b[20].addActionListener(this);
    b[21] = new Button(".");
    b[21].addActionListener(this);
    b[22] = new Button("+");
    b[22].addActionListener(this);
    b[23] = new Button("=");
    b[23].addActionListener(this);
    b[24] =new Button("exit");
    b[24].addActionListener(this);
    for(int i=0;i<=24;i++)
    { p3.add(b);
    add("South",p3);
    super.addWindowListener(new WindowAdapter(){
    public void windowClosing(WindowEvent e)
    {System.exit(0);}});
    setLocation(200,100);
    pack();
    setVisible(true);
    }//end of constructor
    public void actionPerformed(ActionEvent evt)
    String command = evt.getActionCommand();
    StringBuffer tmp, first, second;
    int value, size, k;
    char ch, op = ' ';
    first = new StringBuffer();
    second = new StringBuffer();
    if ("CE".equals(command))
    name.setText("");
    else if("7".equals(command))
    expression = name.getText();
    name.setText(expression+"7");
    else if ("8".equals(command))
    expression = name.getText();
    name.setText(expression+"8");
    else if ("9".equals(command))
    expression = name.getText();
    name.setText(expression+"9");
    else if("4".equals(command))
    expression = name.getText();
    name.setText(expression+"4");
    else if("5".equals(command))
    expression = name.getText();
    name.setText(expression+"5");
    else if("6".equals(command))
    expression = name.getText();
    name.setText(expression+"6");
    else if("1".equals(command))
    expression = name.getText();
    name.setText(expression+"1");
    else if("2".equals(command))
    expression = name.getText();
    name.setText(expression+"2");
    else if("3".equals(command))
    expression = name.getText();
    name.setText(expression+"3");
    else if("0".equals(command))
    expression = name.getText();
    name.setText(expression+"0");
    else if("+".equals(command))
    expression = name.getText();
    name.setText(expression+"+");
    else if("-".equals(command))
    expression = name.getText();
    name.setText(expression+"-");
    else if("*".equals(command))
    expression = name.getText();
    name.setText(expression+"*");
    else if("/".equals(command))
    expression = name.getText();
    name.setText(expression+"/");
    else if("=".equals(command))
    expression = name.getText();
    size = expression.length();
    tmp = new StringBuffer( expression );
    for(int i = 0;i<size;i++)
    ch = tmp.charAt(i);
    if(ch != '+' && ch != '*' && ch != '-' && ch != '/')
    first . insert(i, ch);
    else
    op = ch;
    k = 0;
    for(int j = i+1; j< size ; j++)
    ch = tmp.charAt(j);
    second.insert(k,ch);
    k++;
    break;
    switch(op)
    case '+' : value = Integer.parseInt(new String(first)) +
    Integer.parseInt(new String(second));
    name.setText(new Integer(value).toString());
    break;
    case '-' : value = Integer.parseInt(new String(first)) -
    Integer.parseInt(new String(second));
    name.setText(new Integer(value).toString());
    break;
    case '*' : value = Integer.parseInt(new String(first)) *
    Integer.parseInt(new String(second));
    name.setText(new Integer(value).toString());
    break;
    case '/' : value = Integer.parseInt(new String(first)) /
    Integer.parseInt(new String(second));
    name.setText(new Integer(value).toString());
    break;
    } //end of actionPerformed
    /**main method to invoke from JVM.*/
    public static void main(String args[])
    new calculator();
    This is the file calculator.java .I create this program follow the lecturer's guide . But actually
    i think this is not good jobs . Anybody can help me to change something on this program ???? . And
    please show me the reason why in each case of its . Thanks so much .
    I have to submit it by this friday, so i think i can receive all reply soon . Again, thanks so much.

    As I said before, check out:
    http://forum.java.sun.com/thread.jsp?forum=31&thread=271751
    I actually think there's some examples of what NOT to do in that message that look uncannily similar to what you've posted.
    This is the third time you've asked somebody to do your homework for you. Read the javadocs, check out the tutorials, test the code yourself and experiment with it.
    You can't just throw a bunch of code out and ask some vague questions and expect answers.
    This is the file calculator.java .I create this program follow the lecturer's guide . But actually
    i think this is not good jobs . Anybody can help me to change something on this program ???? . And
    please show me the reason why in each case of its . Thanks so much .
    I have to submit it by this friday, so i think i can receive all reply soon . Again, thanks so much.
    Start by asking some specific questions.
    And your code would be much easier to read if you put it in [ code ] blocks. Check out http://forum.java.sun.com/faq.jsp#messageformat for information on formatting.

  • Please advise how to add new fields to Genric extracter

    Hi,
    We have Genric Extracter and need to modified with few new fields to it.
    The fileds are comming from the table CE10016 Table.
    How could i do that?.Please some one can help me on this.
    Regards
    Prasad

    Hi Prasadrao,
    Does ur generic extractor contains data only from CE10016 table,
    ok then in this case u have to tcode RSO2-edit-click on append structure-name of append strucure will start from 'zz' - add ur required fields there, save and activate it-back- save and activate datasource- then go to customer exit- pick up ur project - pick up exit type 1 for transaction data - write ABAP code for the new fields by the business logic activate and test the data.
    This is a simple procedure, if u expect data can be brought from some other table which can be linked, then there is another solution, but, before that u please put ur clear requirement.
    Assign the points, if this is helping you.

  • Please Help: How to add a Checkbox field to a JTable

    Hi,
    I am trying to add a checkbox filed to a JTable with DefaultTableModel.
    I have tried fro hours. Just Does not work.
    Here is my sample code:
    DefaultTableModel model = new DefaultTableModel();
    JTable table = new JTable(model);
    Object[] data;
    data = new Object[2];
    data[0]= "string"
    data[2] = new Boolean(false)
    model.addRow(data);     
    What is missing in here?
    Thanks,
    Tara

    you can do that with the help of DefaultTableModel alone
    if u r so determined to use DefaultTableModel u need to have a subclass of it
    following sample may satisfy u ...
    import javax.swing.*;
    import java.awt.*;
    import java.beans.*;
    import java.awt.event.*;
    import javax.swing.table.*;
    public class MyTable extends JApplet{
         Object o[] = {"Name","Address","city","Vegetarian"};
         Object data[][] = {
              {"a","a","pune",new Boolean(true)},
              {"Alison", "Huml","mumbai",new Boolean(true)}
         class model extends DefaultTableModel
              model(Object[][] data,Object[] cn)
                   super(data,cn);
              public Class getColumnClass(int i)
                   return getValueAt(0,i).getClass();
              public Object getValueAt(int i,int j)
                   return data[i][j];
         model m = new model(data,o);
         JTable t1 = new JTable(m);
         public void init()
              Container c1 = new Container();
              c1 = getContentPane();
              c1.add(t1);
              TableColumn tc = t1.getColumnModel().getColumn(2);
              JComboBox jc = new JComboBox();
              jc.addItem("Pune");
              jc.addItem("Mumbai");
              jc.addItem("Madras");
              tc.setCellEditor(new DefaultCellEditor(jc));
    bye
    Amol

  • I had to change my password, and need to change my security questions, as they are wrong. Apple won't let me change the security questions unless I answer the old ones, which I cannot do. Suggestions please for how I can change my security questions.

    I had to change my password and did so succesfully, but cannot change my original security questios. To make new security questions, Apple wants me to answer my old security questions, which I cannot do to their satisfaction, as my answers do not match their answers on file. Is there a way to change my security questions without being able to answer my orignal questions first?

    Outlaw123456 wrote:
    Apple wants me to answer my old security questions, which I cannot do to their satisfaction, as my answers do not match their answers on file.
    Why not? If you're the owner then you should know your own question/answer combination as you created them.
    Outlaw123456 wrote:
    Is there a way to change my security questions without being able to answer my orignal questions first?
    Call Apple.

  • How to add new knowledge database to knowledge search

    Hi all
    i am trying to add some knowledge databases to the independent knowledge serach
    in CRMM_SEARCH,when i add these databases
    1. SDB_PROBLEMS
    2. SDB_SOLUTIONS
    the databases get added there but when i select them for searching the documents under them system is giving dump saying attributes value are missing,
    Please tell how to add these data bases to the knowledge serach so that i can serach these under CRMM_SEARCH
    i am working in CRM version 5.0
    and the application i am talking about is IC stanalone Win Client Knowledge serach
    please reply as soon as possible
    help will definitely be rewarded
    best regards
    ashish

    hi,
    You can add solution and problem with tx is01.
    Best regards
    Pankaj Kumar

  • Your Suggestions (How You Do It)

    Happy New Year to all.
    I'm looking for your suggestions as to how to handle my Raw HD files for storage and also workflow. We record to 3 Canon Vixia hand-helds recording 1080x60i and importing into  FCP X for editing.
    Coming from music production background I didn't realize that these files are Extremely Huge. I've just about gone through 6TB in less than 2 months. We record 2 church services (Message only), import/transcode all 3 cameras, edit, and export for local tv broadcast (SD)
    The question is:
    After editing, should we keep the Raw footage for editing later and if so How? i.e. what do You store to?
    Should we dump the files since it's edited?
    In FC what we are now 1st doing the "Multi-Cam" Edit, exporting as a "ProRess" QT file and then adding effects/lower 3rds, then adding the opener and closer to the edited clip. This may be a bad use of storage...but i'm not sure. It may be typical.
    Thank you for your assitance, it is greatly apprectiated.
    Jason

    Your email provider must offer IMAP accounts. Then in your email client select the type of account as IMAP rather than POP. Then in your email client enter your email provider's configuration for their outgoing IMAP server and their incomming IMAP server. Just like you did for their POP server.

  • How to add selected values from table(selected using checkbox)to table?

    Hi All,
    i have created simple page with search panel with table in table i have created one column as check box for selecting.
    here what my requirement is i need to do search multiple times to add some roles to from some different categories.here whenever i searched i ll get some roles into table there i ll select some role and i ll click add buttion. whenever i click add i need to add those roles into some other table finally i ll submit added roles.
    here i followed one link http://www.oracle.com/technetwork/developer-tools/adf/learnmore/99-checkbox-for-delete-in-table-1539659.pdf
    i used same code and able to see selected row in console, as object array how to add these into table.
    please help me out
    Thanks in advance
    siva shankar

    Thank you for a quick reply
    i used the same thing before i go for table check box concept.here what i observed is when i search i am getting some results i am able to shuttle.but if i search again the shuttle is refreshing with new values even not available list its refreshing selected list. IF dont want refresh selected ones.
    my usecase after make some searches I will select some roles from different categories at finally i ll submit.
    i hope you understand me requirement. please suggest me is this requirement is possible in shuttle component? if yes please guide me.
    thanks
    Siva Sankar

  • How to add fields in fp03 Extenal Collection agency screen

    Hi All,
    As per our requirement, I need to add a check box and a date field in FP03 transaction - Extenal collection agency screen. I couldn't find any screen exit,BADI. Any one know how to add these two fields on the screen and save the values in DFKKCOLL and DFKKCOLLH table.
    Your answer is highly appreciated.

    Hello,
    I do not know the either user exit or BAdi for FP03. However I can suggest you a work around.
    You can add an addl tabstrip in FPE2/FPE2M.  This is possible by adding an addl field say 'ZZ' in tables DFKKOP/DFKKCOLL/DFKKCOLLH.
    <also pls look into OSS Note 851023>
    So when ever an item is submitted to collection agency, this field should be updated.
    Hope this helps
    Rgds
    Rajendra

Maybe you are looking for

  • How to add Icons to ALV Reprt?

    Hi, I need to display icons (red, yellow) in my ALV Report in the first column in my report. In my field catalog fieldcat-icon = 'X' has been taken into consideration, but still I am not able to see in my report. In the final internal table that is t

  • How do I import a jpeg image into my mail signature so that it wont separate when it gets to the receiving email

    How do I import a jpg image into my mail signature box so that it wont separate into an attachment when it gets to the receiving mail box.  We have a company logo and when I send it to someone it does not show up under our address but rather as an at

  • InDesign does not react on on-screen Keyboard (Shift-Key) of MAC OS X

    Hello everybody, I want to use the on-screen keyboard of Mac OS 10.9.2 for working with InDesign CS6. (We're working with physically disabled persons who're able to work with a mouse only) Apparently holding the Shift-key of the on-screen keyboard do

  • Questionnaire not in HTML mode (t-code BBP_EVAL_SURVEY

    Hi Expert, I use SRM 7.0 I have question for mode HTML in Questionnaire (t-code BBP_EVAL_SURVEY). I have case, my recipient cannot access Questionnaire in HTML mode, what should i do? Any setting for HTML/not HTML mode in Questionnaire? Need your res

  • Ipad wifi connection problem

    When I first started my ipad a few weeks ago, I set up the wifi I have at home, no problem. But yesterday and today I have had intermittent problems with the wifi not working on my ipad. It gives me the message, no connection and then asks for my pas